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
......@@ -555,7 +555,9 @@ int task_lock(struct task *t) {
}
/* 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;
#else
......
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