Skip to content
Snippets Groups Projects
Commit bbd5d60e authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Keep compilers happy when mpiuse_log_allocation is defined away

parent 72ac5b2e
No related branches found
No related tags found
1 merge request!861Add logging for task MPI requests
...@@ -555,7 +555,9 @@ int task_lock(struct task *t) { ...@@ -555,7 +555,9 @@ int task_lock(struct task *t) {
} }
/* And log deactivation, if logging enabled. */ /* And log deactivation, if logging enabled. */
if (res) mpiuse_log_allocation(t->type, t->subtype, &t->req, 0, 0, 0, 0); if (res) {
mpiuse_log_allocation(t->type, t->subtype, &t->req, 0, 0, 0, 0);
}
return res; return res;
#else #else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment