gfile: Initialize variable to pacify static analysis
authorColin Walters <walters@verbum.org>
Tue, 22 Jul 2014 17:58:53 +0000 (13:58 -0400)
committerColin Walters <walters@verbum.org>
Wed, 23 Jul 2014 11:43:41 +0000 (07:43 -0400)
Not a real bug, but will quiet the analysis.

https://bugzilla.gnome.org/show_bug.cgi?id=733576

gio/gfile.c

index 9cf3f4d..d69c0d5 100644 (file)
@@ -7507,7 +7507,7 @@ measure_disk_usage_thread (GTask        *task,
 {
   MeasureTaskData *data = task_data;
   GError *error = NULL;
-  MeasureResult result;
+  MeasureResult result = { 0, };
 
   if (g_file_measure_disk_usage (source_object, data->flags, cancellable,
                                  data->progress_callback ? measure_disk_usage_progress : NULL, task,