[glib] Avoid some compiler warnings



commit 66a1dfc84facad7e233b8cfeb4772bb243ea5923
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Sep 9 23:42:47 2011 -0400

    Avoid some compiler warnings

 gio/tests/socket-client.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/socket-client.c b/gio/tests/socket-client.c
index 578b0c8..d2c74e8 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))



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