C89 fixes (#515892)
authorAlexander Larsson <alexl@redhat.com>
Tue, 12 Feb 2008 10:06:01 +0000 (10:06 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Tue, 12 Feb 2008 10:06:01 +0000 (10:06 +0000)
2008-02-12  Alexander Larsson  <alexl@redhat.com>

        * tests/live-g-file.c:
C89 fixes (#515892)

svn path=/trunk/; revision=6506

gio/ChangeLog
gio/tests/live-g-file.c

index 3309efa..8e14640 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-12  Alexander Larsson  <alexl@redhat.com>
+
+        * tests/live-g-file.c:
+       C89 fixes (#515892)
+
 2008-02-11  Matthias Clasen <mclasen@redhat.com>
 
        * === Released 2.15.5 ===
index 7604827..7c731bd 100644 (file)
@@ -1076,12 +1076,6 @@ main (int argc, char *argv[])
   GError *error;
   GOptionContext *context;
 
-  verbose = FALSE;
-  write_test = FALSE;
-  create_struct = FALSE;
-  target_path = NULL;
-  posix_compat = FALSE;
-
   static GOptionEntry cmd_entries[] = {
     {"read-write", 'w', 0, G_OPTION_ARG_NONE, &write_test,
      "Perform write tests (incl. structure creation)", NULL},
@@ -1093,6 +1087,12 @@ main (int argc, char *argv[])
     {NULL}
   };
 
+  verbose = FALSE;
+  write_test = FALSE;
+  create_struct = FALSE;
+  target_path = NULL;
+  posix_compat = FALSE;
+
   /*  strip all gtester-specific args  */
   g_type_init ();
   g_test_init (&argc, &argv, NULL);