mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-28 20:25:25 +03:00
dbus-scope: initialize variable before accessing
This commit is contained in:
parent
06025d9148
commit
294a90cc4a
@ -93,7 +93,7 @@ static int bus_scope_set_transient_property(
|
||||
|
||||
if (streq(name, "PIDs")) {
|
||||
DBusMessageIter sub;
|
||||
unsigned n;
|
||||
unsigned n = 0;
|
||||
|
||||
if (dbus_message_iter_get_arg_type(i) != DBUS_TYPE_ARRAY ||
|
||||
dbus_message_iter_get_element_type(i) != DBUS_TYPE_UINT32)
|
||||
|
Loading…
Reference in New Issue
Block a user