From 1e977172cabfffd4fe774b2f13101247bb0e720c Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 19 Aug 2013 07:47:56 +0000 Subject: remove dead assignments --- src/transport/plugin_transport_unix.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/transport/plugin_transport_unix.c') diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 211408f18..5cf9c5125 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c @@ -610,7 +610,6 @@ unix_real_send (void *cls, resend: /* Send the data */ - sent = 0; sent = GNUNET_NETWORK_socket_sendto (send_handle, msgbuf, msgbuf_size, sb, sbs); if (GNUNET_SYSERR == sent) @@ -1440,7 +1439,7 @@ unix_string_to_address (void *cls, const char *addr, uint16_t addrlen, address = NULL; plugin = NULL; optionstr = NULL; - options = 0; + if ((NULL == addr) || (addrlen == 0)) { GNUNET_break (0); -- cgit v1.2.3