[ostree] ostree-repo-static-delta-processing: initialize "modev"
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] ostree-repo-static-delta-processing: initialize "modev"
- Date: Mon, 23 Feb 2015 22:13:48 +0000 (UTC)
commit 22af1d9633f1e99a94be21d6e436ac2aa39c08dd
Author: Giuseppe Scrivano <gscrivan redhat com>
Date: Mon Feb 23 11:51:48 2015 +0100
ostree-repo-static-delta-processing: initialize "modev"
Can be gs_unref_variant'ed on an early error.
Signed-off-by: Giuseppe Scrivano <gscrivan redhat com>
.../ostree-repo-static-delta-processing.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-repo-static-delta-processing.c
b/src/libostree/ostree-repo-static-delta-processing.c
index b268fb2..47adce3 100644
--- a/src/libostree/ostree-repo-static-delta-processing.c
+++ b/src/libostree/ostree-repo-static-delta-processing.c
@@ -461,7 +461,7 @@ do_content_open_generic (OstreeRepo *repo,
GError **error)
{
gboolean ret = FALSE;
- gs_unref_variant GVariant *modev;
+ gs_unref_variant GVariant *modev = NULL;
guint64 mode_offset;
guint64 xattr_offset;
guint32 uid, gid, mode;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]