diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2013-04-19 13:58:58 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-04-19 10:10:41 -0400 |
commit | 7f6437976d31fa772ccef9abedd152d6f5372303 (patch) | |
tree | 08e4cfa58daa593202fde1b8aab43f2b11577f91 | |
parent | 5a8e21785907df7466fef5e1cb54ce3bf99e5362 (diff) |
logind-dbus: initialize result variable
-rw-r--r-- | src/login/logind-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index 4176902a3e..05cc1fdd13 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -1137,7 +1137,7 @@ static int bus_manager_can_shutdown_or_sleep( DBusMessage **_reply) { bool multiple_sessions, challenge, blocked, b; - const char *result; + const char *result = NULL; _cleanup_dbus_message_unref_ DBusMessage *reply = NULL; int r; unsigned long ul; |