Skip to content
Snippets Groups Projects
Commit 031d63a7 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Clarified confusing bracketing

parent ad5f85b8
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment