[gnome-power-manager] trivial: fix a bug spotted by clang



commit 87109315d398e3c65634409a70029a054dea455c
Author: Richard Hughes <richard hughsie com>
Date:   Fri Dec 18 14:21:54 2009 +0000

    trivial: fix a bug spotted by clang

 src/gpm-control.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpm-control.c b/src/gpm-control.c
index 312257d..6903a8d 100644
--- a/src/gpm-control.c
+++ b/src/gpm-control.c
@@ -137,7 +137,7 @@ gboolean
 gpm_control_suspend (GpmControl *control, GError **error)
 {
 	gboolean allowed;
-	gboolean ret;
+	gboolean ret = FALSE;
 	gboolean do_lock;
 	gboolean nm_sleep;
 	gboolean lock_gnome_keyring;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]