From a8bd6ca038e373cdb8a9b11409391c0fa85bc319 Mon Sep 17 00:00:00 2001 From: monsta Date: Fri, 3 Mar 2017 15:33:49 +0300 Subject: add some missing variable initializations --- src/gpm-control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.1