A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix other "missing prototype" errors.
[simgrid.git]
/
src
/
surf
/
fair_bottleneck.c
diff --git
a/src/surf/fair_bottleneck.c
b/src/surf/fair_bottleneck.c
index
ce44b58
..
aa9c4fa
100644
(file)
--- a/
src/surf/fair_bottleneck.c
+++ b/
src/surf/fair_bottleneck.c
@@
-172,9
+172,7
@@
void bottleneck_solve(lmm_system_t sys)
}
} while (xbt_swag_size(var_list));
}
} while (xbt_swag_size(var_list));
- xbt_swag_foreach_safe(cnst, cnst_next, cnst_list) {
- xbt_swag_remove(cnst, cnst_list);
- }
+ xbt_swag_reset(cnst_list);
sys->modified = 0;
if (XBT_LOG_ISENABLED(surf_maxmin, xbt_log_priority_debug)) {
XBT_DEBUG("Fair bottleneck done");
sys->modified = 0;
if (XBT_LOG_ISENABLED(surf_maxmin, xbt_log_priority_debug)) {
XBT_DEBUG("Fair bottleneck done");