]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - libs/xml/xmlparser.h
Remove -Wno-unused-but-set-variable
[xonotic/netradiant.git] / libs / xml / xmlparser.h
index ecc7a0437a6bd867ce82ca7c27c3aaffbd821648..cdfdd8fbaffb4882128595f9fea1e66ea31e3690 100644 (file)
@@ -79,7 +79,7 @@ class Formatted
 {
 public:
 const char* m_format;
-va_list m_arguments;
+mutable va_list m_arguments;
 Formatted( const char* format, ... )
        : m_format( format ){
        va_start( m_arguments, format );
@@ -208,6 +208,7 @@ virtual void exportXML( XMLImporter& importer ){
                xmlFreeParserCtxt( ctxt );
        }
 
+       (void) wellFormed;
        //return wellFormed;
 }
 private: