From b53653520b986083151ebafa66968df41f25447b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 22 Feb 2010 12:26:37 +0000 Subject: [PATCH] dead --- src/transport/gnunet-service-transport.c | 2 -- src/transport/plugin_transport_udp.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 370000cf1..ce8338b1d 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c @@ -1184,14 +1184,12 @@ retry_transmission_task (void *cls, static void try_transmission_to_peer (struct NeighbourList *neighbour) { - struct GNUNET_TIME_Relative min_latency; struct ReadyList *rl; struct MessageQueue *mq; struct GNUNET_TIME_Relative timeout; if (neighbour->messages_head == NULL) return; /* nothing to do */ - min_latency = GNUNET_TIME_UNIT_FOREVER_REL; rl = NULL; mq = neighbour->messages_head; /* FIXME: support bi-directional use of TCP */ diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index be8e2848c..32e22a150 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c @@ -349,7 +349,6 @@ udp_plugin_select (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) struct Plugin *plugin = cls; char *buf; struct UDPMessage *msg; - const struct GNUNET_MessageHeader *hdr; struct GNUNET_PeerIdentity *sender; unsigned int buflen; socklen_t fromlen; @@ -413,7 +412,6 @@ udp_plugin_select (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) GNUNET_NETWORK_fdset_set (plugin->rs, udp_sock); return; } - hdr = (const struct GNUNET_MessageHeader *) &msg[1]; msgbuf = (char *)&msg[1]; sender = GNUNET_malloc (sizeof (struct GNUNET_PeerIdentity)); memcpy (sender, &msg->sender, sizeof (struct GNUNET_PeerIdentity)); -- 2.25.1