remove redundant check
authorNathan S. Evans <evans@in.tum.de>
Fri, 2 Jul 2010 16:49:10 +0000 (16:49 +0000)
committerNathan S. Evans <evans@in.tum.de>
Fri, 2 Jul 2010 16:49:10 +0000 (16:49 +0000)
src/testing/testing_group.c

index 3d1c1e950d65881f3257363a2adac72726503afb..a1a57c6ac80ab53409674c417fb644d586a79bea 100644 (file)
@@ -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;