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>
This commit is contained in:
Giuseppe Scrivano 2015-02-23 11:51:48 +01:00 committed by Colin Walters
parent 52822efd32
commit 22af1d9633
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ do_content_open_generic (OstreeRepo *repo,
GError **error) GError **error)
{ {
gboolean ret = FALSE; gboolean ret = FALSE;
gs_unref_variant GVariant *modev; gs_unref_variant GVariant *modev = NULL;
guint64 mode_offset; guint64 mode_offset;
guint64 xattr_offset; guint64 xattr_offset;
guint32 uid, gid, mode; guint32 uid, gid, mode;