if (MC_IS_ENABLED){
action->state = SIMIX_DONE;
SIMIX_comm_finish(action);
+ return;
}
/* If the action has already finish perform the error handling, */
if (req->comm_test.result) {
xbt_fifo_push(action->request_list, req);
SIMIX_comm_finish(action);
- }
- else {
+ } else {
SIMIX_request_answer(req);
}
}
req->comm_testany.result = cursor;
xbt_fifo_push(action->request_list, req);
SIMIX_comm_finish(action);
- break;
+ return;
}
}
SIMIX_request_answer(req);