glib r6506 - in trunk/gio: . tests



Author: alexl
Date: Tue Feb 12 10:06:01 2008
New Revision: 6506
URL: http://svn.gnome.org/viewvc/glib?rev=6506&view=rev

Log:
2008-02-12  Alexander Larsson  <alexl redhat com>

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




Modified:
   trunk/gio/ChangeLog
   trunk/gio/tests/live-g-file.c

Modified: trunk/gio/tests/live-g-file.c
==============================================================================
--- trunk/gio/tests/live-g-file.c	(original)
+++ trunk/gio/tests/live-g-file.c	Tue Feb 12 10:06:01 2008
@@ -1076,12 +1076,6 @@
   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 @@
     {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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]