[systemd-commits] src/core
Dave Reisner
dreisner at kemper.freedesktop.org
Tue Jul 2 07:44:37 PDT 2013
src/core/dbus-scope.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 294a90cc4af5139e936975a38baaa62771af96ba
Author: Dave Reisner <dreisner at archlinux.org>
Date: Tue Jul 2 10:44:02 2013 -0400
dbus-scope: initialize variable before accessing
diff --git a/src/core/dbus-scope.c b/src/core/dbus-scope.c
index 0205cff..771820c 100644
--- a/src/core/dbus-scope.c
+++ b/src/core/dbus-scope.c
@@ -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)
More information about the systemd-commits
mailing list