[ostree] main: Fix an uninitialized variable



commit 1e7c0bb70ba55c35434ca90df76e5ca52c7cb97b
Author: Colin Walters <walters verbum org>
Date:   Wed Jul 24 09:36:51 2013 -0400

    main: Fix an uninitialized variable

 src/ostree/ot-admin-functions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostree/ot-admin-functions.c b/src/ostree/ot-admin-functions.c
index 4c3cb49..ac45cb1 100644
--- a/src/ostree/ot-admin-functions.c
+++ b/src/ostree/ot-admin-functions.c
@@ -656,7 +656,7 @@ static char *
 get_ostree_kernel_arg_from_config (OtConfigParser  *config)
 {
   const char *options;
-  char *ret;
+  char *ret = NULL;
   char **opts, **iter;
 
   options = ot_config_parser_get (config, "options");


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