diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2017-02-25 12:51:14 +0000 |
---|---|---|
committer | Руслан Ижбулатов <lrn1986@gmail.com> | 2017-02-25 21:03:14 +0000 |
commit | 1dd57ecb97d47034672678055c2fc814728e134d (patch) | |
tree | f308574b6952d63f181a0dbd72016ebb0fc10091 /src/nat/gnunet-nat.c | |
parent | 2f84cb871e5d5cfc2f2408075473cda40e03ab9a (diff) | |
download | gnunet-1dd57ecb97d47034672678055c2fc814728e134d.tar.gz gnunet-1dd57ecb97d47034672678055c2fc814728e134d.zip |
Silence a GCC warning in gnunet-nat.c
It's unobvious how this variable could be used uninitialized, but GCC complains.
Diffstat (limited to 'src/nat/gnunet-nat.c')
-rw-r--r-- | src/nat/gnunet-nat.c | 3 |
1 files changed, 3 insertions, 0 deletions
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, | |||
283 | return; | 283 | return; |
284 | } | 284 | } |
285 | } | 285 | } |
286 | |||
287 | remote_len = 0; | ||
288 | |||
286 | if (NULL != remote_addr) | 289 | if (NULL != remote_addr) |
287 | { | 290 | { |
288 | remote_len = GNUNET_STRINGS_parse_socket_addr (remote_addr, | 291 | remote_len = GNUNET_STRINGS_parse_socket_addr (remote_addr, |