Harald Hoyer 5f4d81
From 7f6437976d31fa772ccef9abedd152d6f5372303 Mon Sep 17 00:00:00 2001
Harald Hoyer 5f4d81
From: Lukas Nykryn <lnykryn@redhat.com>
Harald Hoyer 5f4d81
Date: Fri, 19 Apr 2013 13:58:58 +0200
Harald Hoyer 5f4d81
Subject: [PATCH] logind-dbus: initialize result variable
Harald Hoyer 5f4d81
Harald Hoyer 5f4d81
---
Harald Hoyer 5f4d81
 src/login/logind-dbus.c | 2 +-
Harald Hoyer 5f4d81
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer 5f4d81
Harald Hoyer 5f4d81
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
Harald Hoyer 5f4d81
index 4176902..05cc1fd 100644
Harald Hoyer 5f4d81
--- a/src/login/logind-dbus.c
Harald Hoyer 5f4d81
+++ b/src/login/logind-dbus.c
Harald Hoyer 5f4d81
@@ -1137,7 +1137,7 @@ static int bus_manager_can_shutdown_or_sleep(
Harald Hoyer 5f4d81
                 DBusMessage **_reply) {
Harald Hoyer 5f4d81
 
Harald Hoyer 5f4d81
         bool multiple_sessions, challenge, blocked, b;
Harald Hoyer 5f4d81
-        const char *result;
Harald Hoyer 5f4d81
+        const char *result = NULL;
Harald Hoyer 5f4d81
         _cleanup_dbus_message_unref_ DBusMessage *reply = NULL;
Harald Hoyer 5f4d81
         int r;
Harald Hoyer 5f4d81
         unsigned long ul;
Harald Hoyer 5f4d81
-- 
Harald Hoyer 5f4d81
1.8.2.1
Harald Hoyer 5f4d81