[gnome-power-manager/gnome-2-28] trivial: fix a bug spotted by clang
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-power-manager/gnome-2-28] trivial: fix a bug spotted by clang
- Date: Fri, 22 Jan 2010 12:08:28 +0000 (UTC)
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]