From ce0fbbfdee72bbc81270589efc482e2b6844eabc Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 12 Sep 2013 14:34:38 -0400 Subject: [PATCH] admin: Silence a gcc warning It can't happen, but anyways. --- src/ostree/ot-admin-functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ostree/ot-admin-functions.c b/src/ostree/ot-admin-functions.c index a3f39022..92a181c5 100644 --- a/src/ostree/ot-admin-functions.c +++ b/src/ostree/ot-admin-functions.c @@ -748,7 +748,7 @@ ot_admin_list_deployments (GFile *sysroot, gs_unref_ptrarray GPtrArray *boot_loader_configs = NULL; gs_unref_ptrarray GPtrArray *ret_deployments = NULL; guint i; - int bootversion; + int bootversion = -1; if (!read_current_bootversion (sysroot, &bootversion, cancellable, error)) goto out;