summaryrefslogtreecommitdiff
path: root/src/gpm-control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpm-control.c')
-rw-r--r--src/gpm-control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpm-control.c b/src/gpm-control.c
index c334fb5..9a1273b 100644
--- a/src/gpm-control.c
+++ b/src/gpm-control.c
@@ -208,7 +208,7 @@ gpm_control_get_lock_policy (GpmControl *control, const gchar *policy)
gboolean
gpm_control_suspend (GpmControl *control, GError **error)
{
- gboolean allowed;
+ gboolean allowed = FALSE;
gboolean ret = FALSE;
gboolean do_lock;
gboolean nm_sleep;
@@ -322,7 +322,7 @@ out:
gboolean
gpm_control_hibernate (GpmControl *control, GError **error)
{
- gboolean allowed;
+ gboolean allowed = FALSE;
gboolean ret = FALSE;
gboolean do_lock;
gboolean nm_sleep;