tests: remove a redundant GOptionEntry flag that now causes a warning
authorDan Winship <danw@gnome.org>
Fri, 11 Mar 2011 12:03:29 +0000 (07:03 -0500)
committerDan Winship <danw@gnome.org>
Fri, 11 Mar 2011 12:03:29 +0000 (07:03 -0500)
tests/forms-test.c
tests/redirect-test.c
tests/server-auth-test.c
tests/xmlrpc-server-test.c

index 6cdc6ad..4c2846e 100644 (file)
@@ -422,7 +422,7 @@ md5_callback (SoupServer *server, SoupMessage *msg,
 static gboolean run_tests = TRUE;
 
 static GOptionEntry no_test_entry[] = {
-        { "no-tests", 'n', G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_REVERSE,
+        { "no-tests", 'n', G_OPTION_FLAG_REVERSE,
           G_OPTION_ARG_NONE, &run_tests,
           "Don't run tests, just run the test server", NULL },
         { NULL }
index 63a92c1..f99d9c7 100644 (file)
@@ -334,7 +334,7 @@ server2_callback (SoupServer *server, SoupMessage *msg,
 static gboolean run_tests = TRUE;
 
 static GOptionEntry no_test_entry[] = {
-        { "no-tests", 'n', G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_REVERSE,
+        { "no-tests", 'n', G_OPTION_FLAG_REVERSE,
           G_OPTION_ARG_NONE, &run_tests,
           "Don't run tests, just run the test server", NULL },
         { NULL }
index 4122b16..89e5943 100644 (file)
@@ -320,7 +320,7 @@ request_started_callback (SoupServer *server, SoupMessage *msg,
 static gboolean run_tests = TRUE;
 
 static GOptionEntry no_test_entry[] = {
-        { "no-tests", 'n', G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_REVERSE,
+        { "no-tests", 'n', G_OPTION_FLAG_REVERSE,
           G_OPTION_ARG_NONE, &run_tests,
           "Don't run tests, just run the test server", NULL },
         { NULL }
index 02751f1..9eae702 100644 (file)
@@ -301,7 +301,7 @@ do_xmlrpc_tests (SoupURI *uri)
 gboolean run_tests = TRUE;
 
 static GOptionEntry no_test_entry[] = {
-        { "no-tests", 'n', G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_REVERSE,
+        { "no-tests", 'n', G_OPTION_FLAG_REVERSE,
           G_OPTION_ARG_NONE, &run_tests,
           "Don't run tests, just run the test server", NULL },
         { NULL }