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



commit 57c5893fff15559f5bccdf50049e6790586822c7
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 31b96c9..4514859 100644
--- a/src/gpm-control.c
+++ b/src/gpm-control.c
@@ -239,7 +239,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]