From: mquinson Date: Tue, 10 Nov 2009 12:33:10 +0000 (+0000) Subject: don't trust gcc for cleaning your code after you. he's too dumb to be trusted X-Git-Tag: SVN~880 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a5c8599142e1793770ab9255582edb1e74b214af?hp=1a2f031cc377418f3716415ba669434bfd3a5df4 don't trust gcc for cleaning your code after you. he's too dumb to be trusted git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6837 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index b8e210d3a0..ce9d3adb10 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -503,7 +503,6 @@ void lmm_solve(lmm_system_t sys) cnst->remaining = cnst->bound; cnst->usage = 0; elem_list = &(cnst->element_set); - cnst->usage = 0.0; xbt_swag_foreach(elem, elem_list) { /* 0-weighted elements (ie, sleep actions) are at the end of the swag and we don't want to consider them */ if (elem->variable->weight <= 0)