tools: Fix unintialized variables
This commit is contained in:
1 parent
5bca569506
commit
956b18ace7
2 files changed
+2
-2
No files matched your search
@@ -58,7 +58,7 @@ ot_admin_builtin_switch (int argc, char **argv, OstreeSysroot *sysroot, GCancell
|
|||||||
gs_unref_object OstreeSysrootUpgrader *upgrader = NULL;
|
gs_unref_object OstreeSysrootUpgrader *upgrader = NULL;
|
||||||
gs_unref_object OstreeAsyncProgress *progress = NULL;
|
gs_unref_object OstreeAsyncProgress *progress = NULL;
|
||||||
gboolean changed;
|
gboolean changed;
|
||||||
GSConsole *console;
|
GSConsole *console = NULL;
|
||||||
GKeyFile *old_origin;
|
GKeyFile *old_origin;
|
||||||
GKeyFile *new_origin = NULL;
|
GKeyFile *new_origin = NULL;
|
||||||
|
|
||||||
|
|||||||
@@ -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 GFile *deployment_origin_path = NULL;
|
||||||
gs_unref_object OstreeDeployment *merge_deployment = NULL;
|
gs_unref_object OstreeDeployment *merge_deployment = NULL;
|
||||||
gs_unref_object OstreeDeployment *new_deployment = NULL;
|
gs_unref_object OstreeDeployment *new_deployment = NULL;
|
||||||
GSConsole *console;
|
GSConsole *console = NULL;
|
||||||
gs_unref_object OstreeAsyncProgress *progress = NULL;
|
gs_unref_object OstreeAsyncProgress *progress = NULL;
|
||||||
gboolean changed;
|
gboolean changed;
|
||||||
OstreeSysrootUpgraderPullFlags upgraderpullflags = 0;
|
OstreeSysrootUpgraderPullFlags upgraderpullflags = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user