[gnome-control-center/gbsneto/cleanup-network-panel: 3/23] net-device-mobile: Initialize variable



commit 890dac86e92461d4cc930666ff0b84f6e30b969c
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Oct 31 19:20:10 2018 -0300

    net-device-mobile: Initialize variable

 panels/network/net-device-mobile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/panels/network/net-device-mobile.c b/panels/network/net-device-mobile.c
index 062e4d120..7af62259b 100644
--- a/panels/network/net-device-mobile.c
+++ b/panels/network/net-device-mobile.c
@@ -163,7 +163,7 @@ mobilebb_enabled_toggled (NMClient       *client,
                           GParamSpec     *pspec,
                           NetDeviceMobile *device_mobile)
 {
-        gboolean enabled;
+        gboolean enabled = FALSE;
         GtkSwitch *sw;
         NMDevice *device;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]