repo: Fix an uninitialized variable

Closes: #431
Approved by: giuseppe
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2016-08-08 11:13:06 +00:00
1 parent e7b3cf9850
commit 8dab17f6db
1 file changed
+1 -1
+1 -1
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);