From 47ddcc32cdfc5ce1ec0b39f7b5df52a3ca07a7e6 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sun, 28 Jun 2015 16:16:39 +0900 Subject: Fix uninitialized variable usages for !HAVE_UPOWER --- mate-session/gsm-manager.c | 4 ++-- 1 file 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, -- cgit v1.2.1