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
energy: less code dupplication
[simgrid.git]
/
src
/
surf
/
surfxml_parse.c
diff --git
a/src/surf/surfxml_parse.c
b/src/surf/surfxml_parse.c
index
306050c
..
4764cb9
100644
(file)
--- a/
src/surf/surfxml_parse.c
+++ b/
src/surf/surfxml_parse.c
@@
-374,7
+374,7
@@
void surf_parse_free_callbacks(void)
/* Stag and Etag parse functions */
void STag_surfxml_platform(void) {
/* Stag and Etag parse functions */
void STag_surfxml_platform(void) {
-
_XBT_GNUC
_UNUSED double version = surf_parse_get_double(A_surfxml_platform_version);
+
XBT_ATTRIB
_UNUSED double version = surf_parse_get_double(A_surfxml_platform_version);
xbt_assert((version >= 1.0), "******* BIG FAT WARNING *********\n "
"You're using an ancient XML file.\n"
xbt_assert((version >= 1.0), "******* BIG FAT WARNING *********\n "
"You're using an ancient XML file.\n"