networkd: manager - initialize variables
authorTom Gundersen <teg@jklm.no>
Fri, 9 May 2014 16:02:14 +0000 (18:02 +0200)
committerTom Gundersen <teg@jklm.no>
Sat, 10 May 2014 18:56:37 +0000 (20:56 +0200)
src/network/networkd-manager.c

index d4b05bb..0456eef 100644 (file)
@@ -497,7 +497,7 @@ int manager_save(Manager *m) {
         _cleanup_free_ char *temp_path = NULL;
         _cleanup_fclose_ FILE *f = NULL;
         const char *oper_state = "unknown";
-        bool dormant, carrier;
+        bool dormant = false, carrier = false;
         int r;
 
         assert(m);