From: anryko Date: Thu, 4 Jan 2018 21:50:48 +0000 (+0100) Subject: Fixed Uninitialized Variable warning. X-Git-Tag: gnunet-0.11.0rc0~16^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c78d16f69df9688d2739ec828e0d3bd604518e55;p=oweals%2Fgnunet.git Fixed Uninitialized Variable warning. --- 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,