From 1dd57ecb97d47034672678055c2fc814728e134d Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?utf8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Sat, 25 Feb 2017 12:51:14 +0000 Subject: [PATCH] Silence a GCC warning in gnunet-nat.c It's unobvious how this variable could be used uninitialized, but GCC complains. --- src/nat/gnunet-nat.c | 3 +++ 1 file changed, 3 insertions(+) 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, -- 2.25.1