gio/tests/gio-du.c: Avoid Using Unintialized Variable
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 9 Sep 2013 16:49:39 +0000 (00:49 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 13 Sep 2013 03:31:05 +0000 (11:31 +0800)
https://bugzilla.gnome.org/show_bug.cgi?id=707787

gio/tests/gio-du.c

index 4ed9941..12ac12b 100644 (file)
@@ -72,7 +72,7 @@ report_progress (gboolean reporting,
 int
 main (int argc, char **argv)
 {
-  GFileMeasureProgressCallback progress;
+  GFileMeasureProgressCallback progress = NULL;
   GFileMeasureFlags flags = 0;
   gint i;