From: Nathan S. Evans Date: Fri, 2 Jul 2010 16:49:10 +0000 (+0000) Subject: remove redundant check X-Git-Tag: initial-import-from-subversion-38251~21042 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=811b0ce79db2ab2bd6f748fe2bca7d57e7a91071;p=oweals%2Fgnunet.git remove redundant check --- 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;