X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/40ae856c53d026ccb98eae6068730cb3796b5e8c..0c259b6fb45cece5af1c16f45893a13a4087fd49:/src/surf/surfxml_parse.c diff --git a/src/surf/surfxml_parse.c b/src/surf/surfxml_parse.c index 84294fec2f..c8d2f0cfba 100644 --- a/src/surf/surfxml_parse.c +++ b/src/surf/surfxml_parse.c @@ -168,7 +168,7 @@ void ETag_surfxml_argument(void) } void surf_parse_open(const char *file) { - static int warned = 0; + static int warned = 0; /* warn only once */ if(!file) { if (!warned) { WARN0("Bypassing the XML parser since surf_parse_open received a NULL pointer. If it is not what you want, go fix your code.");