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
Get ride of a supurious compiler warning
[simgrid.git]
/
src
/
surf
/
network.c
diff --git
a/src/surf/network.c
b/src/surf/network.c
index
14c6c2c
..
1077cdb
100644
(file)
--- a/
src/surf/network.c
+++ b/
src/surf/network.c
@@
-476,8
+476,8
@@
static void update_resource_state(void *id,
surf_action_network_CM02_t action = NULL;
nw_link->lat_current = value;
surf_action_network_CM02_t action = NULL;
nw_link->lat_current = value;
- while (var= lmm_get_var_from_cnst
- (network_maxmin_system, nw_link->constraint, &elem)) {
+ while (
(
var= lmm_get_var_from_cnst
+ (network_maxmin_system, nw_link->constraint, &elem))
)
{
action = lmm_variable_id(var);
action->lat_current += delta;
if (action->rate < 0)
action = lmm_variable_id(var);
action->lat_current += delta;
if (action->rate < 0)