X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f94f413f3722a8cea9ab78dfa72e3af7b2f4f67d..5668c8e9331c925d99554cef3691a638064459c0:/src/surf/network.c diff --git a/src/surf/network.c b/src/surf/network.c index 6df63ed3d3..ef75a3a8ee 100644 --- a/src/surf/network.c +++ b/src/surf/network.c @@ -477,14 +477,12 @@ static double net_share_resources_lazy(double now) int max_dur_flag = 0; if (GENERIC_ACTION(action).state_set != - surf_network_model->states.running_action_set) { + surf_network_model->states.running_action_set) continue; - } /* bogus priority, skip it */ - if (GENERIC_ACTION(action).priority <= 0) { + if (GENERIC_ACTION(action).priority <= 0) continue; - } min = -1; value = lmm_variable_getvalue(GENERIC_LMM_ACTION(action).variable);