core: Initialize variables in fsck

Otherwise we segfault on an unhandled filename.
This commit is contained in:
Colin Walters committed 2011-12-08 18:23:25 -05:00
1 parent d3058629fd
commit dc4164993b
1 file changed
+2 -2
+2 -2
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;