git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2650
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
}
void surf_parse_open(const char *file) {
}
void surf_parse_open(const char *file) {
- WARN0("I hope you know what you're doing... you just gave me a NULL pointer!");
+ 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.");
+ warned = 1;
+ }
return;
}
if(!surf_input_buffer_stack)
return;
}
if(!surf_input_buffer_stack)