[ostree/easy-fixes2: 2/2] ostree-pull: Avoid an uninitialized variable warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree/easy-fixes2: 2/2] ostree-pull: Avoid an uninitialized variable warning
- Date: Fri, 11 May 2012 01:02:49 +0000 (UTC)
commit 5dcb7e345b33fd77af1749c0f0819e05cccd256b
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]