logind-dbus: initialize result variable

This commit is contained in:
Lukas Nykryn
2013-04-19 10:10:41 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent 5a8e217859
commit 7f6437976d
+1 -1
View File
@@ -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;