From c78d16f69df9688d2739ec828e0d3bd604518e55 Mon Sep 17 00:00:00 2001 From: anryko Date: Thu, 4 Jan 2018 22:50:48 +0100 Subject: [PATCH] Fixed Uninitialized Variable warning. --- src/transport/plugin_transport_tcp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c index a63013caa..5b78dc970 100644 --- a/src/transport/plugin_transport_tcp.c +++ b/src/transport/plugin_transport_tcp.c @@ -3348,7 +3348,7 @@ handle_tcp_data (void *cls, if (NULL == session) { /* No inbound session found */ - void *vaddr; + void *vaddr = NULL; size_t alen; GNUNET_SERVER_client_get_address (client, @@ -3369,7 +3369,7 @@ handle_tcp_data (void *cls, if (GNUNET_YES == session->expecting_welcome) { /* Session is expecting WELCOME message */ - void *vaddr; + void *vaddr = NULL; size_t alen; GNUNET_SERVER_client_get_address (client, @@ -3389,7 +3389,7 @@ handle_tcp_data (void *cls, session->last_activity = GNUNET_TIME_absolute_get (); { - void *vaddr; + void *vaddr = NULL; size_t alen; GNUNET_SERVER_client_get_address (client, -- 2.25.1