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
With optimizations, gcc 4.6 warns about clobbered variables
[simgrid.git]
/
src
/
xbt
/
config.c
diff --git
a/src/xbt/config.c
b/src/xbt/config.c
index
a9071df
..
13df108
100644
(file)
--- a/
src/xbt/config.c
+++ b/
src/xbt/config.c
@@
-589,7
+589,7
@@
void xbt_cfg_set_parse(xbt_cfg_t cfg, const char *options)
double d;
char *str;
- xbt_cfgelm_t variable = NULL;
+
volatile
xbt_cfgelm_t variable = NULL;
char *optionlist_cpy;
char *option, *name, *val;