From: Christian Grothoff Date: Tue, 25 Oct 2011 22:08:00 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~16250 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e79ca91c1884398d2ba205026d168be375e74788;p=oweals%2Fgnunet.git fix --- diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c index 2c2838127..a4eba609d 100644 --- a/src/transport/transport-testing.c +++ b/src/transport/transport-testing.c @@ -29,23 +29,6 @@ #define VERBOSE GNUNET_YES -static struct PeerContext * -find_peer_context_by_pc ( struct GNUNET_TRANSPORT_TESTING_handle *tth, - struct PeerContext *p) -{ - GNUNET_assert (tth != NULL); - struct PeerContext * t = tth->p_head; - - while (t != NULL) - { - if (p == t) - break; - t = t->next; - } - - return t; -} - static struct PeerContext * find_peer_context ( struct GNUNET_TRANSPORT_TESTING_handle *tth,