[ostree] main: Fix an uninitialized variable
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] main: Fix an uninitialized variable
- Date: Wed, 24 Jul 2013 13:37:08 +0000 (UTC)
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]