From 53f8b39e6e55436f61c2fdbf756201d335db0d95 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 4 May 2018 18:50:44 +0200 Subject: [PATCH] gcc and clang complain about unused function. --- src/xmlreader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xmlreader.c b/src/xmlreader.c index 48e0717f6..347b3f6eb 100644 --- a/src/xmlreader.c +++ b/src/xmlreader.c @@ -1705,7 +1705,7 @@ static int parse_strings(xmlDocPtr doc) void register_xmlreader(void) { -#if 0 +#ifdef _MSC_VER /* gcc and clang complain about unused function */ xml_register_callback(parse_resources); xml_register_callback(parse_buildings); xml_register_callback(parse_ships);