diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-15 12:50:29 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-15 12:50:29 +0000 |
commit | 7855b6d971af1aaa236b4ece7c767d774d739335 (patch) | |
tree | 229214335288bd899910358ccbf4b61261483d13 /src/vpn | |
parent | 62734197ffae55d0d21ed3bc789d5529e9d02fd4 (diff) | |
download | gnunet-7855b6d971af1aaa236b4ece7c767d774d739335.tar.gz gnunet-7855b6d971af1aaa236b4ece7c767d774d739335.zip |
fix warnings
Diffstat (limited to 'src/vpn')
-rw-r--r-- | src/vpn/gnunet-daemon-vpn-helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vpn/gnunet-daemon-vpn-helper.c b/src/vpn/gnunet-daemon-vpn-helper.c index 29227893a..af80764a8 100644 --- a/src/vpn/gnunet-daemon-vpn-helper.c +++ b/src/vpn/gnunet-daemon-vpn-helper.c | |||
@@ -297,6 +297,7 @@ helper_write (void *cls | |||
297 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Wrong addrlen = %d\n", | 297 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Wrong addrlen = %d\n", |
298 | ans->pkt.addrlen); | 298 | ans->pkt.addrlen); |
299 | GNUNET_assert (0); | 299 | GNUNET_assert (0); |
300 | return; /* convince compiler that we're done here */ | ||
300 | } | 301 | } |
301 | 302 | ||
302 | GNUNET_CONTAINER_DLL_remove (answer_proc_head, answer_proc_tail, ans); | 303 | GNUNET_CONTAINER_DLL_remove (answer_proc_head, answer_proc_tail, ans); |
@@ -401,7 +402,7 @@ message_token (void *cls __attribute__ ((unused)), void *client | |||
401 | htons (sizeof (struct GNUNET_MessageHeader) + | 402 | htons (sizeof (struct GNUNET_MessageHeader) + |
402 | sizeof (GNUNET_HashCode) + ntohs (pkt6->ip6_hdr.paylgth)); | 403 | sizeof (GNUNET_HashCode) + ntohs (pkt6->ip6_hdr.paylgth)); |
403 | 404 | ||
404 | GNUNET_MESH_ApplicationType app_type; | 405 | GNUNET_MESH_ApplicationType app_type = 0; /* fix compiler uninitialized warning... */ |
405 | 406 | ||
406 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "me->addrlen is %d\n", | 407 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "me->addrlen is %d\n", |
407 | me->addrlen); | 408 | me->addrlen); |