diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-07-02 16:49:10 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-07-02 16:49:10 +0000 |
commit | 811b0ce79db2ab2bd6f748fe2bca7d57e7a91071 (patch) | |
tree | ecbf110b2ccba2e538cbde0a7b61e7acb5bf68dc /src/testing | |
parent | 4238e624cf345537e26c0111418dcd53bc5c1a97 (diff) | |
download | gnunet-811b0ce79db2ab2bd6f748fe2bca7d57e7a91071.tar.gz gnunet-811b0ce79db2ab2bd6f748fe2bca7d57e7a91071.zip |
remove redundant check
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c index 3d1c1e950..a1a57c6ac 100644 --- a/src/testing/testing_group.c +++ b/src/testing/testing_group.c | |||
@@ -3579,7 +3579,7 @@ GNUNET_TESTING_daemons_stop (struct GNUNET_TESTING_PeerGroup *pg, | |||
3579 | shutdown_cb = NULL; | 3579 | shutdown_cb = NULL; |
3580 | shutdown_ctx = NULL; | 3580 | shutdown_ctx = NULL; |
3581 | 3581 | ||
3582 | if ((cb != NULL) && (pg->total > 0)) | 3582 | if (cb != NULL) |
3583 | { | 3583 | { |
3584 | shutdown_ctx = GNUNET_malloc(sizeof(struct ShutdownContext)); | 3584 | shutdown_ctx = GNUNET_malloc(sizeof(struct ShutdownContext)); |
3585 | shutdown_ctx->cb = cb; | 3585 | shutdown_ctx->cb = cb; |