}
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.");