From 7855b6d971af1aaa236b4ece7c767d774d739335 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 15 Nov 2011 12:50:29 +0000 Subject: fix warnings --- src/vpn/gnunet-daemon-vpn-helper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Wrong addrlen = %d\n", ans->pkt.addrlen); GNUNET_assert (0); + return; /* convince compiler that we're done here */ } GNUNET_CONTAINER_DLL_remove (answer_proc_head, answer_proc_tail, ans); @@ -401,7 +402,7 @@ message_token (void *cls __attribute__ ((unused)), void *client htons (sizeof (struct GNUNET_MessageHeader) + sizeof (GNUNET_HashCode) + ntohs (pkt6->ip6_hdr.paylgth)); - GNUNET_MESH_ApplicationType app_type; + GNUNET_MESH_ApplicationType app_type = 0; /* fix compiler uninitialized warning... */ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "me->addrlen is %d\n", me->addrlen); -- cgit v1.2.3