summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-09-09 23:42:47 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-09-09 23:44:41 -0400
commit66a1dfc84facad7e233b8cfeb4772bb243ea5923 (patch)
treedf97308c5c695153bde4cab9fe259fb0048fa53f
parent644ab6a7d3f3462b782258e5bb8bac35d46064a0 (diff)
downloadglib-66a1dfc84facad7e233b8cfeb4772bb243ea5923.tar.gz
Avoid some compiler warnings
-rw-r--r--gio/tests/socket-client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gio/tests/socket-client.c b/gio/tests/socket-client.c
index 578b0c88b..d2c74e88e 100644
--- a/gio/tests/socket-client.c
+++ b/gio/tests/socket-client.c
@@ -256,6 +256,9 @@ main (int argc,
g_type_init ();
+ address = NULL;
+ connection = NULL;
+
context = g_option_context_new (" <hostname>[:port] - Test GSocket client stuff");
g_option_context_add_main_entries (context, cmd_entries, NULL);
if (!g_option_context_parse (context, &argc, &argv, &error))