aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_tcp.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_tcp.c
parentbf7f0f51764c29f82be5aeae84dd95de7a857cd3 (diff)
downloadgnunet-1e977172cabfffd4fe774b2f13101247bb0e720c.tar.gz
gnunet-1e977172cabfffd4fe774b2f13101247bb0e720c.zip
remove dead assignments
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r--src/transport/plugin_transport_tcp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index b1c4cab2b..37a4aa7cd 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -597,7 +597,6 @@ tcp_address_to_string (void *cls, const void *addr, size_t addrlen)
597 uint16_t port; 597 uint16_t port;
598 uint32_t options; 598 uint32_t options;
599 599
600 options = 0;
601 switch (addrlen) 600 switch (addrlen)
602 { 601 {
603 case sizeof (struct IPv6TcpAddress): 602 case sizeof (struct IPv6TcpAddress):
@@ -665,7 +664,6 @@ tcp_string_to_address (void *cls, const char *addr, uint16_t addrlen,
665 address = NULL; 664 address = NULL;
666 plugin = NULL; 665 plugin = NULL;
667 optionstr = NULL; 666 optionstr = NULL;
668 options = 0;
669 if ((NULL == addr) || (addrlen == 0)) 667 if ((NULL == addr) || (addrlen == 0))
670 { 668 {
671 GNUNET_break (0); 669 GNUNET_break (0);
@@ -1735,8 +1733,6 @@ tcp_plugin_address_pretty_printer (void *cls, const char *type,
1735 uint16_t port; 1733 uint16_t port;
1736 uint32_t options; 1734 uint32_t options;
1737 1735
1738
1739 options = 0;
1740 if (addrlen == sizeof (struct IPv6TcpAddress)) 1736 if (addrlen == sizeof (struct IPv6TcpAddress))
1741 { 1737 {
1742 t6 = addr; 1738 t6 = addr;