From: Руслан Ижбулатов Date: Sat, 25 Feb 2017 12:51:14 +0000 (+0000) Subject: Silence a GCC warning in gnunet-nat.c X-Git-Tag: taler-0.2.1~53 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1dd57ecb97d47034672678055c2fc814728e134d;p=oweals%2Fgnunet.git Silence a GCC warning in gnunet-nat.c It's unobvious how this variable could be used uninitialized, but GCC complains. --- diff --git a/src/nat/gnunet-nat.c b/src/nat/gnunet-nat.c index f198adc0a..80bfb5726 100644 --- a/src/nat/gnunet-nat.c +++ b/src/nat/gnunet-nat.c @@ -283,6 +283,9 @@ run (void *cls, return; } } + + remote_len = 0; + if (NULL != remote_addr) { remote_len = GNUNET_STRINGS_parse_socket_addr (remote_addr,