diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-22 07:03:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-22 07:03:26 +0000 |
commit | b531e1b857650623e8167e2d31d97be2e3985f63 (patch) | |
tree | eb2d48b61c865df117a6be6ae3f20f9a9a0a14b7 /src/vpn | |
parent | 15bb58cddfc10126f3345d18802d28b56d572f35 (diff) | |
download | gnunet-b531e1b857650623e8167e2d31d97be2e3985f63.tar.gz gnunet-b531e1b857650623e8167e2d31d97be2e3985f63.zip |
-make clang happy
Diffstat (limited to 'src/vpn')
-rw-r--r-- | src/vpn/gnunet-service-vpn.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c index 172e778f6..87d128814 100644 --- a/src/vpn/gnunet-service-vpn.c +++ b/src/vpn/gnunet-service-vpn.c | |||
@@ -1033,6 +1033,7 @@ route_packet (struct DestinationEntry *destination, | |||
1033 | (unsigned int) protocol); | 1033 | (unsigned int) protocol); |
1034 | return; | 1034 | return; |
1035 | } | 1035 | } |
1036 | alen = 0; | ||
1036 | if (! destination->is_service) | 1037 | if (! destination->is_service) |
1037 | { | 1038 | { |
1038 | switch (destination->details.exit_destination.af) | 1039 | switch (destination->details.exit_destination.af) |
@@ -1044,7 +1045,6 @@ route_packet (struct DestinationEntry *destination, | |||
1044 | alen = sizeof (struct in6_addr); | 1045 | alen = sizeof (struct in6_addr); |
1045 | break; | 1046 | break; |
1046 | default: | 1047 | default: |
1047 | alen = 0; | ||
1048 | GNUNET_assert (0); | 1048 | GNUNET_assert (0); |
1049 | } | 1049 | } |
1050 | 1050 | ||
@@ -1068,8 +1068,6 @@ route_packet (struct DestinationEntry *destination, | |||
1068 | } | 1068 | } |
1069 | else | 1069 | else |
1070 | { | 1070 | { |
1071 | /* make compiler happy */ | ||
1072 | alen = 0; | ||
1073 | { | 1071 | { |
1074 | char sbuf[INET6_ADDRSTRLEN]; | 1072 | char sbuf[INET6_ADDRSTRLEN]; |
1075 | char dbuf[INET6_ADDRSTRLEN]; | 1073 | char dbuf[INET6_ADDRSTRLEN]; |