Fixed clang warnings over partial initialization in coroutine

This commit is contained in:
Snaipe 2015-09-23 00:34:30 +02:00
parent 2c76e45479
commit 080c10ebad

View file

@ -416,9 +416,9 @@ static struct process *run_next_test(struct criterion_test_set *p_set,
sfree(ctx->suite_stats);
sfree(ctx->test_stats);
ccrReturn(NULL);
} else {
ccrReturn(worker);
}
ccrReturn(worker);
}
if (ctx->params.cleanup)
@ -445,9 +445,9 @@ static struct process *run_next_test(struct criterion_test_set *p_set,
if (!is_runner()) {
sfree(ctx->suite_stats);
ccrReturn(NULL);
} else {
ccrReturn(worker);
}
ccrReturn(worker);
}
}