aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-08-19 07:47:56 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-08-19 07:47:56 +0000
commit1e977172cabfffd4fe774b2f13101247bb0e720c (patch)
tree31675ba3ba6c1f801882ed21c20340b508d2a064 /src/transport/plugin_transport_udp.c
parentbf7f0f51764c29f82be5aeae84dd95de7a857cd3 (diff)
downloadgnunet-1e977172cabfffd4fe774b2f13101247bb0e720c.tar.gz
gnunet-1e977172cabfffd4fe774b2f13101247bb0e720c.zip
remove dead assignments
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r--src/transport/plugin_transport_udp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index 46804ba1d..90053b575 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -559,7 +559,6 @@ udp_address_to_string (void *cls, const void *addr, size_t addrlen)
559 uint16_t port; 559 uint16_t port;
560 uint32_t options; 560 uint32_t options;
561 561
562 options = 0;
563 if (addrlen == sizeof (struct IPv6UdpAddress)) 562 if (addrlen == sizeof (struct IPv6UdpAddress))
564 { 563 {
565 t6 = addr; 564 t6 = addr;
@@ -622,7 +621,7 @@ udp_string_to_address (void *cls, const char *addr, uint16_t addrlen,
622 address = NULL; 621 address = NULL;
623 plugin = NULL; 622 plugin = NULL;
624 optionstr = NULL; 623 optionstr = NULL;
625 options = 0; 624
626 if ((NULL == addr) || (addrlen == 0)) 625 if ((NULL == addr) || (addrlen == 0))
627 { 626 {
628 GNUNET_break (0); 627 GNUNET_break (0);
@@ -795,7 +794,6 @@ udp_plugin_address_pretty_printer (void *cls, const char *type,
795 uint16_t port; 794 uint16_t port;
796 uint32_t options; 795 uint32_t options;
797 796
798 options = 0;
799 if (addrlen == sizeof (struct IPv6UdpAddress)) 797 if (addrlen == sizeof (struct IPv6UdpAddress))
800 { 798 {
801 u6 = addr; 799 u6 = addr;
@@ -1256,7 +1254,6 @@ disconnect_session (struct Session *s)
1256 call_continuation(udpw, GNUNET_SYSERR); 1254 call_continuation(udpw, GNUNET_SYSERR);
1257 GNUNET_free (udpw); 1255 GNUNET_free (udpw);
1258 } 1256 }
1259 udpw = next;
1260 } 1257 }
1261 plugin->env->session_end (plugin->env->cls, &s->target, s); 1258 plugin->env->session_end (plugin->env->cls, &s->target, s);
1262 1259