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:
parent
5a8e217859
commit
7f6437976d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user