core: Initialize variables in fsck

Otherwise we segfault on an unhandled filename.
This commit is contained in:
Colin Walters 2011-12-08 18:23:13 -05:00
parent d3058629fd
commit dc4164993b
1 changed files with 2 additions and 2 deletions

View File

@ -1905,8 +1905,8 @@ iter_object_dir (OstreeRepo *self,
{
const char *name;
guint32 type;
char *dot;
GFile *child;
char *dot = NULL;
GFile *child = NULL;
GString *checksum = NULL;
OstreeObjectType objtype;