[ostree] admin: Silence a gcc warning
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] admin: Silence a gcc warning
- Date: Thu, 12 Sep 2013 18:36:00 +0000 (UTC)
commit ce0fbbfdee72bbc81270589efc482e2b6844eabc
Author: Colin Walters <walters verbum org>
Date: Thu Sep 12 14:34:38 2013 -0400
admin: Silence a gcc warning
It can't happen, but anyways.
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 a3f3902..92a181c 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]