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
/
workstation_ptask_L07.c
diff --git
a/src/surf/workstation_ptask_L07.c
b/src/surf/workstation_ptask_L07.c
index
cb8022d
..
b66945f
100644
(file)
--- a/
src/surf/workstation_ptask_L07.c
+++ b/
src/surf/workstation_ptask_L07.c
@@
-378,8
+378,8
@@
static void update_resource_state(void *id,
lmm_element_t elem = NULL;
nw_link->lat_current = value;
lmm_element_t elem = NULL;
nw_link->lat_current = value;
- while (var = lmm_get_var_from_cnst
- (ptask_maxmin_system, nw_link->constraint, &elem)) {
+ while (
(
var = lmm_get_var_from_cnst
+ (ptask_maxmin_system, nw_link->constraint, &elem))
)
{
action = lmm_variable_id(var);
action = lmm_variable_id(var);