diff options
author | OBATA Akio <[email protected]> | 2015-06-28 16:16:39 +0900 |
---|---|---|
committer | OBATA Akio <[email protected]> | 2015-06-28 16:16:39 +0900 |
commit | 47ddcc32cdfc5ce1ec0b39f7b5df52a3ca07a7e6 (patch) | |
tree | 09407eabc7b2f47aa2a9a22790d149380470d237 | |
parent | 5bc8ccdb5c056c5805e8f69dce9c1b556abb2c31 (diff) | |
download | mate-session-manager-47ddcc32cdfc5ce1ec0b39f7b5df52a3ca07a7e6.tar.bz2 mate-session-manager-47ddcc32cdfc5ce1ec0b39f7b5df52a3ca07a7e6.tar.xz |
Fix uninitialized variable usages for !HAVE_UPOWER
-rw-r--r-- | mate-session/gsm-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c index 11af41b..046619f 100644 --- a/mate-session/gsm-manager.c +++ b/mate-session/gsm-manager.c @@ -3385,8 +3385,8 @@ gsm_manager_can_shutdown (GsmManager *manager, #ifdef HAVE_SYSTEMD GsmSystemd *systemd; #endif - gboolean can_suspend; - gboolean can_hibernate; + gboolean can_suspend = FALSE; + gboolean can_hibernate = FALSE; #ifdef HAVE_UPOWER g_object_get (manager->priv->up_client, "can-suspend", &can_suspend, |