diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-05-08 11:09:10 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-10 14:43:10 +0100 |
commit | 170d40260ba4484726d247b679089a394b5ffcf6 (patch) | |
tree | 16f7aecad3ad20dba790a42dfed0343fd430b3d0 /src/core/dbus-unit.c | |
parent | 3c3cd61e75edf4e324c1d342842cab88dd7330cc (diff) | |
download | systemd-170d40260ba4484726d247b679089a394b5ffcf6.tar.gz |
core: do not initialize variable which is unconditionally set below
Diffstat (limited to 'src/core/dbus-unit.c')
-rw-r--r-- | src/core/dbus-unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-unit.c b/src/core/dbus-unit.c index 67cc58ee9e..90bf5514a3 100644 --- a/src/core/dbus-unit.c +++ b/src/core/dbus-unit.c @@ -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); |