[systemd-devel] [PATCH] scope: Silence compiler warning
Jan Janssen
medhefgo at web.de
Mon Jul 1 08:16:02 PDT 2013
---
src/core/dbus-scope.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/dbus-scope.c b/src/core/dbus-scope.c
index bddf8f4..f6cfe38 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)
--
1.8.3.2
More information about the systemd-devel
mailing list