From 767e18bf82ffd2221c3863ef1804539a58034bc7 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 12 Feb 2008 10:06:01 +0000 Subject: [PATCH] C89 fixes (#515892) 2008-02-12 Alexander Larsson * tests/live-g-file.c: C89 fixes (#515892) svn path=/trunk/; revision=6506 --- gio/ChangeLog | 5 +++++ gio/tests/live-g-file.c | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gio/ChangeLog b/gio/ChangeLog index 3309efa..8e14640 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,8 @@ +2008-02-12 Alexander Larsson + + * tests/live-g-file.c: + C89 fixes (#515892) + 2008-02-11 Matthias Clasen * === Released 2.15.5 === diff --git a/gio/tests/live-g-file.c b/gio/tests/live-g-file.c index 7604827..7c731bd 100644 --- a/gio/tests/live-g-file.c +++ b/gio/tests/live-g-file.c @@ -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); -- 2.7.4