From 4e52228385ab71148d8469d3894b69c61b2d944c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 15 Jul 2011 11:24:18 +0000 Subject: [PATCH 1/1] dead --- src/testing/testing_group.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c index 033ab7d5e..1aa3cc134 100644 --- a/src/testing/testing_group.c +++ b/src/testing/testing_group.c @@ -2949,7 +2949,6 @@ create_and_copy_blacklist_files(struct GNUNET_TESTING_PeerGroup *pg, unsigned int i; char *pos; char *temp_transports; - int entry_count; #if OLD struct GNUNET_CRYPTO_HashAsciiEncoded peer_enc; struct PeerConnection *conn_iter; @@ -2987,15 +2986,14 @@ create_and_copy_blacklist_files(struct GNUNET_TESTING_PeerGroup *pg, &peer_enc); fprintf (temp_file_handle, "%s:%s\n", pos, (char *) &peer_enc); conn_iter = conn_iter->next; - entry_count++; } #else blacklist_ctx.transport = pos; - entry_count = GNUNET_CONTAINER_multihashmap_iterate (pg-> - peers - [pg_iter].blacklisted_peers, - &blacklist_file_iterator, - &blacklist_ctx); + (void) GNUNET_CONTAINER_multihashmap_iterate (pg-> + peers + [pg_iter].blacklisted_peers, + &blacklist_file_iterator, + &blacklist_ctx); #endif pos = NULL; } /* At beginning of actual string */ -- 2.25.1