1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 03:25:31 +03:00

logind-dbus: initialize result variable

This commit is contained in:
Lukas Nykryn 2013-04-19 13:58:58 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 5a8e217859
commit 7f6437976d

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;