From 811b0ce79db2ab2bd6f748fe2bca7d57e7a91071 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Fri, 2 Jul 2010 16:49:10 +0000 Subject: [PATCH] remove redundant check --- src/testing/testing_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, shutdown_cb = NULL; shutdown_ctx = NULL; - if ((cb != NULL) && (pg->total > 0)) + if (cb != NULL) { shutdown_ctx = GNUNET_malloc(sizeof(struct ShutdownContext)); shutdown_ctx->cb = cb; -- 2.25.1