diff options
author | anryko <a.shvenke@gmail.com> | 2018-01-04 22:50:48 +0100 |
---|---|---|
committer | anryko <a.shvenke@gmail.com> | 2018-01-04 22:50:48 +0100 |
commit | c78d16f69df9688d2739ec828e0d3bd604518e55 (patch) | |
tree | c4e2ba00fcbc003d036de182fba98ce26a494d73 /src/transport/plugin_transport_tcp.c | |
parent | a90bc78b266ee8945b8e289e94f2f7503b18c3e1 (diff) | |
download | gnunet-c78d16f69df9688d2739ec828e0d3bd604518e55.tar.gz gnunet-c78d16f69df9688d2739ec828e0d3bd604518e55.zip |
Fixed Uninitialized Variable warning.
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r-- | src/transport/plugin_transport_tcp.c | 6 |
1 files 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, | |||
3348 | if (NULL == session) | 3348 | if (NULL == session) |
3349 | { | 3349 | { |
3350 | /* No inbound session found */ | 3350 | /* No inbound session found */ |
3351 | void *vaddr; | 3351 | void *vaddr = NULL; |
3352 | size_t alen; | 3352 | size_t alen; |
3353 | 3353 | ||
3354 | GNUNET_SERVER_client_get_address (client, | 3354 | GNUNET_SERVER_client_get_address (client, |
@@ -3369,7 +3369,7 @@ handle_tcp_data (void *cls, | |||
3369 | if (GNUNET_YES == session->expecting_welcome) | 3369 | if (GNUNET_YES == session->expecting_welcome) |
3370 | { | 3370 | { |
3371 | /* Session is expecting WELCOME message */ | 3371 | /* Session is expecting WELCOME message */ |
3372 | void *vaddr; | 3372 | void *vaddr = NULL; |
3373 | size_t alen; | 3373 | size_t alen; |
3374 | 3374 | ||
3375 | GNUNET_SERVER_client_get_address (client, | 3375 | GNUNET_SERVER_client_get_address (client, |
@@ -3389,7 +3389,7 @@ handle_tcp_data (void *cls, | |||
3389 | 3389 | ||
3390 | session->last_activity = GNUNET_TIME_absolute_get (); | 3390 | session->last_activity = GNUNET_TIME_absolute_get (); |
3391 | { | 3391 | { |
3392 | void *vaddr; | 3392 | void *vaddr = NULL; |
3393 | size_t alen; | 3393 | size_t alen; |
3394 | 3394 | ||
3395 | GNUNET_SERVER_client_get_address (client, | 3395 | GNUNET_SERVER_client_get_address (client, |