core: do not initialize variable which is unconditionally set below
This commit is contained in:
@@ -338,7 +338,7 @@ static int bus_timer_set_transient_property(
|
||||
|
||||
b = timer_base_from_string(name);
|
||||
if (b < 0)
|
||||
return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Unknown timer base");
|
||||
return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Unknown timer base %s", name);
|
||||
|
||||
r = sd_bus_message_read(message, "t", &usec);
|
||||
if (r < 0)
|
||||
|
||||
@@ -1982,7 +1982,7 @@ static int bus_unit_set_transient_property(
|
||||
UnitWriteFlags flags,
|
||||
sd_bus_error *error) {
|
||||
|
||||
UnitDependency d = _UNIT_DEPENDENCY_INVALID;
|
||||
UnitDependency d;
|
||||
int r;
|
||||
|
||||
assert(u);
|
||||
|
||||
Reference in New Issue
Block a user