From: Matthias Wachs Date: Fri, 28 Oct 2011 12:23:52 +0000 (+0000) Subject: state and unused var X-Git-Tag: initial-import-from-subversion-38251~16169 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e2aa0db692a2731942663762e09298004656efc0;p=oweals%2Fgnunet.git state and unused var --- diff --git a/src/transport/gnunet-service-transport_neighbours_3way.c b/src/transport/gnunet-service-transport_neighbours_3way.c index cbddc6fd8..117ea5ee1 100644 --- a/src/transport/gnunet-service-transport_neighbours_3way.c +++ b/src/transport/gnunet-service-transport_neighbours_3way.c @@ -423,7 +423,7 @@ change (struct NeighbourMapEntry * n, int state, int line) break; case S_CONNECT_RECV: if ((state == S_NOT_CONNECTED) || (state == S_DISCONNECT) || - (state == S_CONNECTED)) + (state == S_CONNECTED) || /* FIXME SENT -> RECV ISSUE!*/ (state == S_CONNECT_SENT)) { allowed = GNUNET_YES; break; @@ -1780,7 +1780,6 @@ GST_neighbours_handle_connect_ack (const struct GNUNET_MessageHeader *message, const struct SessionConnectMessage *scm; struct QuotaSetMessage q_msg; struct GNUNET_MessageHeader msg; - struct GNUNET_TIME_Absolute ts; struct NeighbourMapEntry *n; size_t msg_len; size_t ret; @@ -1799,7 +1798,6 @@ GST_neighbours_handle_connect_ack (const struct GNUNET_MessageHeader *message, scm = (const struct SessionConnectMessage *) message; GNUNET_break_op (ntohl (scm->reserved) == 0); - ts = GNUNET_TIME_absolute_ntoh (scm->timestamp); n = lookup_neighbour (peer); if (NULL == n) n = setup_neighbour (peer);