summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-15 12:50:29 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-15 12:50:29 +0000
commit7855b6d971af1aaa236b4ece7c767d774d739335 (patch)
tree229214335288bd899910358ccbf4b61261483d13 /src
parent62734197ffae55d0d21ed3bc789d5529e9d02fd4 (diff)
fix warnings
Diffstat (limited to 'src')
-rw-r--r--src/vpn/gnunet-daemon-vpn-helper.c3
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
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);