Commit 031d63a7 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Clarified confusing bracketing

parent ad5f85b8
......@@ -1358,10 +1358,11 @@ struct task *scheduler_gettask(struct scheduler *s, int qid,
/* If we failed, take a short nap. */
#ifdef WITH_MPI
if (res == NULL && qid > 1) {
if (res == NULL && qid > 1)
#else
if (res == NULL) {
if (res == NULL)
#endif
{
pthread_mutex_lock(&s->sleep_mutex);
res = queue_gettask(&s->queues[qid], prev, 1);
if (res == NULL && s->waiting > 0) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment