diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-23 10:15:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-23 10:15:33 +0000 |
commit | 279a1b55e78c86ad3186efb003da6f4b0c341a3c (patch) | |
tree | 0593b1f4d569ccf77c8bae2158b8f3d19f3ad749 /src/testing | |
parent | bd15fbf71c5c20c838e8a6d850085fbb11c06beb (diff) | |
download | gnunet-279a1b55e78c86ad3186efb003da6f4b0c341a3c.tar.gz gnunet-279a1b55e78c86ad3186efb003da6f4b0c341a3c.zip |
missing returns
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing_peergroup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testing/testing_peergroup.c b/src/testing/testing_peergroup.c index 90c0f0373..7bf742fb5 100644 --- a/src/testing/testing_peergroup.c +++ b/src/testing/testing_peergroup.c | |||
@@ -513,6 +513,7 @@ internal_peers_started_callback (void *cls, | |||
513 | GNUNET_strdup ("from connect topology (bad return)"); | 513 | GNUNET_strdup ("from connect topology (bad return)"); |
514 | pg_start_ctx->die_task = | 514 | pg_start_ctx->die_task = |
515 | GNUNET_SCHEDULER_add_now (&end_badly, pg_start_ctx); | 515 | GNUNET_SCHEDULER_add_now (&end_badly, pg_start_ctx); |
516 | return; | ||
516 | } | 517 | } |
517 | 518 | ||
518 | GNUNET_free_non_null (pg_start_ctx->fail_reason); | 519 | GNUNET_free_non_null (pg_start_ctx->fail_reason); |
@@ -581,6 +582,7 @@ internal_hostkey_callback (void *cls, const struct GNUNET_PeerIdentity *id, | |||
581 | pg_start_ctx->die_task = | 582 | pg_start_ctx->die_task = |
582 | GNUNET_SCHEDULER_add_now (&end_badly, | 583 | GNUNET_SCHEDULER_add_now (&end_badly, |
583 | "from create topology (bad return)"); | 584 | "from create topology (bad return)"); |
585 | return; | ||
584 | } | 586 | } |
585 | 587 | ||
586 | GNUNET_SCHEDULER_cancel (pg_start_ctx->die_task); | 588 | GNUNET_SCHEDULER_cancel (pg_start_ctx->die_task); |