diff options
author | Martin Wimpress <[email protected]> | 2015-06-28 08:35:47 +0100 |
---|---|---|
committer | Martin Wimpress <[email protected]> | 2015-06-28 08:35:47 +0100 |
commit | 4a429eb78e328b82fa6dc6422b8bdb8de7b8cb35 (patch) | |
tree | 09407eabc7b2f47aa2a9a22790d149380470d237 /mate-session | |
parent | 5bc8ccdb5c056c5805e8f69dce9c1b556abb2c31 (diff) | |
parent | 47ddcc32cdfc5ce1ec0b39f7b5df52a3ca07a7e6 (diff) | |
download | mate-session-manager-4a429eb78e328b82fa6dc6422b8bdb8de7b8cb35.tar.bz2 mate-session-manager-4a429eb78e328b82fa6dc6422b8bdb8de7b8cb35.tar.xz |
Merge pull request #89 from obache/neatsrc
Fix uninitialized variable usages for !HAVE_UPOWER
Diffstat (limited to 'mate-session')
-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, |