cvs: /php4/ext/xml/expat/xmlparse xmlparse.c

From: Date: Fri, 11 Feb 2000 13:25:57 +0000
Subject: cvs: /php4/ext/xml/expat/xmlparse xmlparse.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-10105@lists.php.net to get a copy of this message
sas Fri Feb 11 05:25:57 2000 EDT Modified files: /php4/ext/xml/expat/xmlparse xmlparse.c Log: Kill warnings Index: php4/ext/xml/expat/xmlparse/xmlparse.c diff -u php4/ext/xml/expat/xmlparse/xmlparse.c:1.1 php4/ext/xml/expat/xmlparse/xmlparse.c:1.2 --- php4/ext/xml/expat/xmlparse/xmlparse.c:1.1 Wed Feb 2 10:42:03 2000 +++ php4/ext/xml/expat/xmlparse/xmlparse.c Fri Feb 11 05:25:26 2000 @@ -190,7 +190,9 @@ 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 @@ } } +#if 0 static enum XML_Error errorProcessor(XML_Parser parser, const char *s, @@ -2341,6 +2344,7 @@ { return errorCode; } +#endif static enum XML_Error storeAttributeValue(XML_Parser parser, const ENCODING *enc, int isCdata, @@ -2483,7 +2487,9 @@ 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;

« previous php.version4 (#10105) next »