repo: Fix an uninitialized variable

Closes: #431
Approved by: giuseppe
This commit is contained in:
Colin Walters 2016-08-08 06:34:50 -04:00 committed by Atomic Bot
parent e7b3cf9850
commit 8dab17f6db
1 changed files with 1 additions and 1 deletions

View File

@ -2066,7 +2066,7 @@ ostree_repo_write_commit_detached_metadata (OstreeRepo *self,
char pathbuf[_OSTREE_LOOSE_PATH_MAX];
g_autoptr(GVariant) normalized = NULL;
gsize normalized_size = 0;
const guint8 *data;
const guint8 *data = NULL;
_ostree_loose_path (pathbuf, checksum, OSTREE_OBJECT_TYPE_COMMIT_META, self->mode);