X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/43ba8e3e23937f2105f8eba4a35f32e8d25b5229..dd1e2e08e0cf4010c4e2d12c229f1698322102d2:/projects/sgconf_xml/parser.cpp?ds=sidebyside

diff --git a/projects/sgconf_xml/parser.cpp b/projects/sgconf_xml/parser.cpp
index 99b48a7b..f2d5993b 100644
--- a/projects/sgconf_xml/parser.cpp
+++ b/projects/sgconf_xml/parser.cpp
@@ -166,8 +166,7 @@ while (n != ans->end())
 
     if (XML_Parse(parser, n->c_str(), len, done) == XML_STATUS_ERROR)
         {
-        char s[128];
-        printf(s, "Parse error at line %d: %s",
+        printf("Parse error at line %d: %s",
                XML_GetCurrentLineNumber(parser),
                XML_ErrorString(XML_GetErrorCode(parser)));
         return st_xml_parse_error;