[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 09/14: Silence a GCC warning in gnunet-nat.c
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 09/14: Silence a GCC warning in gnunet-nat.c |
Date: |
Sat, 25 Feb 2017 22:04:59 +0100 |
This is an automated email from the git hooks/post-receive script.
lrn pushed a commit to branch master
in repository gnunet.
commit 1dd57ecb97d47034672678055c2fc814728e134d
Author: Руслан Ижбулатов <address@hidden>
AuthorDate: Sat Feb 25 12:51:14 2017 +0000
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,
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] branch master updated (a57e7703f -> 903c035f7), gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 04/14: W32: Fix a possible control flow error, gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 12/14: Fix an initialization warning (GCC bug 53119), gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 06/14: W32: Fix wrong format strings, gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 10/14: W32: Splice GNUNET_memcpy macro into NAT and GNS helpers, gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 09/14: Silence a GCC warning in gnunet-nat.c,
gnunet <=
- [GNUnet-SVN] [gnunet] 14/14: W32: Fix msg allocation in gns helper service, gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 11/14: W32: cast ntohl() result to uint32_t, gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 01/14: W32: adapt the code to GNUNET_memcpy() that returns nothing, gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 02/14: Use GNU printf format, gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 05/14: W32: Fix the conditaions for the ifconfig function, gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 13/14: W32: port gnunet-gns-import to new zone iterator callback API, gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 03/14: Shuffle some vars around to fix a warning, gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 07/14: W32: placate GCC by initializing lsocks_write_fd to NULL, gnunet, 2017/02/25
- [GNUnet-SVN] [gnunet] 08/14: Link libgnunetblockgroup to libgnunetblock, gnunet, 2017/02/25