diff options
author | monsta <[email protected]> | 2017-03-03 15:33:49 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-03-03 15:33:49 +0300 |
commit | a8bd6ca038e373cdb8a9b11409391c0fa85bc319 (patch) | |
tree | cfaea70e485900bf20fe6f0edab387428ce4974d /src | |
parent | 137ca1087f80c2bb5ff32d8f9466237132f2ff06 (diff) | |
download | mate-power-manager-a8bd6ca038e373cdb8a9b11409391c0fa85bc319.tar.bz2 mate-power-manager-a8bd6ca038e373cdb8a9b11409391c0fa85bc319.tar.xz |
add some missing variable initializations
Diffstat (limited to 'src')
-rw-r--r-- | src/gpm-control.c | 4 |
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; |