diff options
author | Sascha Schumann <sas@php.net> | 2000-02-11 13:25:26 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-02-11 13:25:26 +0000 |
commit | fe416bd3537b53c9c9ba08752f8decf52bb0481e (patch) | |
tree | 85e1a549488fcc00e1db5e155a9d12a45cacc892 /ext/xml/expat/xmlparse/xmlparse.c | |
parent | 89553f5df6ea9a583409b0bd042738dbea044bdd (diff) | |
download | php-git-fe416bd3537b53c9c9ba08752f8decf52bb0481e.tar.gz |
Kill warnings
Diffstat (limited to 'ext/xml/expat/xmlparse/xmlparse.c')
-rw-r--r-- | ext/xml/expat/xmlparse/xmlparse.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/xml/expat/xmlparse/xmlparse.c b/ext/xml/expat/xmlparse/xmlparse.c index 5bba88709a..aba28061d2 100644 --- a/ext/xml/expat/xmlparse/xmlparse.c +++ b/ext/xml/expat/xmlparse/xmlparse.c @@ -190,7 +190,9 @@ static Processor prologInitProcessor; static Processor contentProcessor; static Processor cdataSectionProcessor; static Processor epilogProcessor; +#if 0 static Processor errorProcessor; +#endif static Processor externalEntityInitProcessor; static Processor externalEntityInitProcessor2; static Processor externalEntityInitProcessor3; @@ -2333,6 +2335,7 @@ enum XML_Error epilogProcessor(XML_Parser parser, } } +#if 0 static enum XML_Error errorProcessor(XML_Parser parser, const char *s, @@ -2341,6 +2344,7 @@ enum XML_Error errorProcessor(XML_Parser parser, { return errorCode; } +#endif static enum XML_Error storeAttributeValue(XML_Parser parser, const ENCODING *enc, int isCdata, @@ -2483,7 +2487,9 @@ enum XML_Error storeEntityValue(XML_Parser parser, const char *entityTextPtr, const char *entityTextEnd) { +#if 0 const ENCODING *internalEnc = ns ? XmlGetInternalEncodingNS() : XmlGetInternalEncoding(); +#endif STRING_POOL *pool = &(dtd.pool); entityTextPtr += encoding->minBytesPerChar; entityTextEnd -= encoding->minBytesPerChar; |