From 505115c27f5454df0878407c7706c7f1c3744b0d Mon Sep 17 00:00:00 2001 From: "maruel@google.com" Date: Fri, 8 Aug 2008 19:12:46 +0000 Subject: Updates libxml to 2.6.32. Updated google.patch and README.google BUG=1300342 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@581 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/libxml/xmlreader.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'third_party/libxml/xmlreader.c') diff --git a/third_party/libxml/xmlreader.c b/third_party/libxml/xmlreader.c index d7bddec..92b053e 100644 --- a/third_party/libxml/xmlreader.c +++ b/third_party/libxml/xmlreader.c @@ -234,8 +234,6 @@ xmlTextReaderRemoveID(xmlDocPtr doc, xmlAttrPtr attr) { if (table == NULL) return(-1); - if (attr == NULL) - return(-1); ID = xmlNodeListGetString(doc, attr->children, 1); if (ID == NULL) return(-1); @@ -2936,7 +2934,7 @@ xmlTextReaderAttributeCount(xmlTextReaderPtr reader) { * * Get the node type of the current node * Reference: - * http://dotgnu.org/pnetlib-doc/System/Xml/XmlNodeType.html + * http://www.gnu.org/software/dotgnu/pnetlib-doc/System/Xml/XmlNodeType.html * * Returns the xmlNodeType of the current node or -1 in case of error */ @@ -3960,8 +3958,7 @@ xmlTextReaderCurrentDoc(xmlTextReaderPtr reader) { return(NULL); if (reader->doc != NULL) return(reader->doc); - if ((reader == NULL) || (reader->ctxt == NULL) || - (reader->ctxt->myDoc == NULL)) + if ((reader->ctxt == NULL) || (reader->ctxt->myDoc == NULL)) return(NULL); reader->preserve = 1; -- cgit v1.1