From: Christian Grothoff Date: Fri, 15 Jul 2011 11:24:18 +0000 (+0000) Subject: dead X-Git-Tag: initial-import-from-subversion-38251~17837 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=4e52228385ab71148d8469d3894b69c61b2d944c;hp=2237f1c5e969ca9e1a8b0dea2d476232dca15b07;p=oweals%2Fgnunet.git dead --- 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 */