X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fxml%2Fxmlparse.c;h=294b73b4dd2ebe381f802a3a68655efe48c9792e;hb=b9a34b1b05ce9cab1b4b67816d7d24bd2bc364b7;hp=5bba88709a76b5265f79aea50918f332ae7e33ff;hpb=60cbe9c1d4e9b4fb56008964eb1a4634046fd2a7;p=simgear.git diff --git a/simgear/xml/xmlparse.c b/simgear/xml/xmlparse.c index 5bba8870..294b73b4 100644 --- a/simgear/xml/xmlparse.c +++ b/simgear/xml/xmlparse.c @@ -190,7 +190,6 @@ static Processor prologInitProcessor; static Processor contentProcessor; static Processor cdataSectionProcessor; static Processor epilogProcessor; -static Processor errorProcessor; static Processor externalEntityInitProcessor; static Processor externalEntityInitProcessor2; static Processor externalEntityInitProcessor3; @@ -2333,15 +2332,6 @@ enum XML_Error epilogProcessor(XML_Parser parser, } } -static -enum XML_Error errorProcessor(XML_Parser parser, - const char *s, - const char *end, - const char **nextPtr) -{ - return errorCode; -} - static enum XML_Error storeAttributeValue(XML_Parser parser, const ENCODING *enc, int isCdata, const char *ptr, const char *end, @@ -2483,7 +2473,6 @@ enum XML_Error storeEntityValue(XML_Parser parser, const char *entityTextPtr, const char *entityTextEnd) { - const ENCODING *internalEnc = ns ? XmlGetInternalEncodingNS() : XmlGetInternalEncoding(); STRING_POOL *pool = &(dtd.pool); entityTextPtr += encoding->minBytesPerChar; entityTextEnd -= encoding->minBytesPerChar;