[network-manager-openvpn] import: add a missing initializer



commit 8ebba5e612b2602bd008edcc3d9d9161b85d8c29
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Thu Apr 28 17:22:54 2016 +0200

    import: add a missing initializer
    
    CID 99744 (#1 of 1): Uninitialized scalar variable (UNINIT)12.
    uninit_use: Using uninitialized value printed.

 properties/import-export.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/import-export.c b/properties/import-export.c
index 851a8ca..d2532bc 100644
--- a/properties/import-export.c
+++ b/properties/import-export.c
@@ -1543,7 +1543,7 @@ static void
 args_write_line_v (GString *f, gsize nargs, const char **args)
 {
        gsize i;
-       gboolean printed;
+       gboolean printed = FALSE;
 
        nm_assert (args);
        nm_assert (args[0]);


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