X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e1ade9b0e5d44e4f96d6e83370ea9a5b850a1cc9..7da44b26eb7f4da0d4ce7672f479dea4d01767b3:/src/surf/surfxml_parse.c diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index ccbfb41740..a438b8f5ac 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -268,7 +268,7 @@ void surf_parse_free_callbacks(void) void STag_surfxml_platform(void) { - double version = surf_parse_get_double(A_surfxml_platform_version); + _XBT_GNUC_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" @@ -291,7 +291,6 @@ void STag_surfxml_platform(void) "available in the tools/ directory of the source archive."); surfxml_call_cb_functions(STag_surfxml_platform_cb_list); - } void STag_surfxml_host(void){