diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-09-01 13:21:03 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-09-01 13:21:03 +0000 |
commit | 930871b49ea5ba14a92c6c0ed8e3ecc648da0b22 (patch) | |
tree | 280392bf53902b59073055c066fe1ebd69b43c7c /src/testing/test_testing_topology_churn.c | |
parent | 05186db103486d199c2dc9357264a265e9c33117 (diff) | |
download | gnunet-930871b49ea5ba14a92c6c0ed8e3ecc648da0b22.tar.gz gnunet-930871b49ea5ba14a92c6c0ed8e3ecc648da0b22.zip |
klocwork fixes
Diffstat (limited to 'src/testing/test_testing_topology_churn.c')
-rw-r--r-- | src/testing/test_testing_topology_churn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testing/test_testing_topology_churn.c b/src/testing/test_testing_topology_churn.c index 880b0fefc..a4b80e4a4 100644 --- a/src/testing/test_testing_topology_churn.c +++ b/src/testing/test_testing_topology_churn.c | |||
@@ -266,6 +266,7 @@ run (void *cls, | |||
266 | main_cfg = cfg; | 266 | main_cfg = cfg; |
267 | 267 | ||
268 | peers_left = num_peers; | 268 | peers_left = num_peers; |
269 | GNUNET_assert(num_peers > 0 && num_peers < (unsigned int)-1); | ||
269 | 270 | ||
270 | /* For this specific test we only really want a CLIQUE topology as the | 271 | /* For this specific test we only really want a CLIQUE topology as the |
271 | * overlay allowed topology, and a RING topology as the underlying connection | 272 | * overlay allowed topology, and a RING topology as the underlying connection |