X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2b758af21612aa227b3a64876def8954e022dbd6..bee3400ba6e1daeca869db8753dc4d86bcda28ca:/src/msg/msg_actions.c diff --git a/src/msg/msg_actions.c b/src/msg/msg_actions.c index 97d3c4c05e..0fb8c58740 100644 --- a/src/msg/msg_actions.c +++ b/src/msg/msg_actions.c @@ -57,7 +57,7 @@ static int MSG_action_runner(int argc, char *argv[]) while ((evt = action_get_action(argv[0]))) { msg_action_fun function = xbt_dict_get(action_funs, evt[1]); - (*function) (evt); + function(evt); free(evt); } } else { // Should have got my trace file in argument @@ -70,7 +70,7 @@ static int MSG_action_runner(int argc, char *argv[]) while ((evt=xbt_replay_trace_reader_get(reader))) { if (!strcmp(argv[0],evt[0])) { msg_action_fun function = xbt_dict_get(action_funs, evt[1]); - (*function) (evt); + function(evt); free(evt); } else { XBT_WARN("%s: Ignore trace element not for me",