projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2237f1c
)
dead
author
Christian Grothoff
<christian@grothoff.org>
Fri, 15 Jul 2011 11:24:18 +0000
(11:24 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 15 Jul 2011 11:24:18 +0000
(11:24 +0000)
src/testing/testing_group.c
patch
|
blob
|
history
diff --git
a/src/testing/testing_group.c
b/src/testing/testing_group.c
index 033ab7d5edc00315a63d50a43ba8eaeddc1d032c..1aa3cc134be3247ce4c79fe7ef51c54627f016dc 100644
(file)
--- 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;
unsigned int i;
char *pos;
char *temp_transports;
- int entry_count;
#if OLD
struct GNUNET_CRYPTO_HashAsciiEncoded peer_enc;
struct PeerConnection *conn_iter;
#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;
&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;
}
#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 */
#endif
pos = NULL;
} /* At beginning of actual string */