[glib: 9/11] Fix non-initialized variable in gio/tests/socket-client.c




commit 7bd79b112d0b4432bc87be0a3d4ce93492bf8519
Author: Loic Le Page <llepage fluendo com>
Date:   Wed Jan 19 18:56:56 2022 +0100

    Fix non-initialized variable in gio/tests/socket-client.c

 gio/tests/socket-client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/tests/socket-client.c b/gio/tests/socket-client.c
index 6c25e08c99..92bf41fb97 100644
--- a/gio/tests/socket-client.c
+++ b/gio/tests/socket-client.c
@@ -257,7 +257,7 @@ main (int argc,
   GIOStream *connection;
   GInputStream *istream;
   GOutputStream *ostream;
-  GSocketAddress *src_address;
+  GSocketAddress *src_address = NULL;
   GTlsCertificate *certificate = NULL;
   gint i;
 


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