[ostree] ostree-pull: Avoid an uninitialized variable warning
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] ostree-pull: Avoid an uninitialized variable warning
- Date: Sat, 12 May 2012 14:51:43 +0000 (UTC)
commit 5a1a300892721277f2a825e4ec6a84f64c1b305d
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 7 23:19:21 2012 -0400
ostree-pull: Avoid an uninitialized variable warning
src/ostree/ostree-pull.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostree/ostree-pull.c b/src/ostree/ostree-pull.c
index fedb656..766e1cb 100644
--- a/src/ostree/ostree-pull.c
+++ b/src/ostree/ostree-pull.c
@@ -340,7 +340,7 @@ find_object_in_remote_packs (OtPullData *pull_data,
GError **error)
{
gboolean ret = FALSE;
- guint64 ret_offset;
+ guint64 ret_offset = 0;
guint i;
GPtrArray *iter;
ot_lvariant GVariant *csum_bytes_v = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]