tools: Fix unintialized variables

This commit is contained in:
Colin Walters committed 2014-04-01 10:00:18 -04:00
1 parent 5bca569506
commit 956b18ace7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ ot_admin_builtin_switch (int argc, char **argv, OstreeSysroot *sysroot, GCancell
gs_unref_object OstreeSysrootUpgrader *upgrader = NULL;
gs_unref_object OstreeAsyncProgress *progress = NULL;
gboolean changed;
GSConsole *console;
GSConsole *console = NULL;
GKeyFile *old_origin;
GKeyFile *new_origin = NULL;
+1 -1
View File
@@ -58,7 +58,7 @@ ot_admin_builtin_upgrade (int argc, char **argv, OstreeSysroot *sysroot, GCancel
gs_unref_object GFile *deployment_origin_path = NULL;
gs_unref_object OstreeDeployment *merge_deployment = NULL;
gs_unref_object OstreeDeployment *new_deployment = NULL;
GSConsole *console;
GSConsole *console = NULL;
gs_unref_object OstreeAsyncProgress *progress = NULL;
gboolean changed;
OstreeSysrootUpgraderPullFlags upgraderpullflags = 0;