mirror of
https://github.com/GNOME/libxml2.git
synced 2025-02-17 18:19:32 +08:00
fixed #107043 removing 2 warnings with Sun One compiler. Daniel
* xmlreader.c: fixed #107043 removing 2 warnings with Sun One compiler. Daniel
This commit is contained in:
parent
2086382959
commit
2cfd9dff28
@ -1,3 +1,8 @@
|
||||
Sat Mar 22 23:38:08 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* xmlreader.c: fixed #107043 removing 2 warnings with Sun One
|
||||
compiler.
|
||||
|
||||
Sat Mar 22 18:50:45 CET 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* relaxng.c: valgrind'ed and cleaned up a couple of memory issues.
|
||||
|
@ -2034,7 +2034,7 @@ xmlTextReaderHasValue(xmlTextReaderPtr reader) {
|
||||
case XML_COMMENT_NODE:
|
||||
return(1);
|
||||
default:
|
||||
return(0);
|
||||
break;
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
@ -2080,7 +2080,7 @@ xmlTextReaderValue(xmlTextReaderPtr reader) {
|
||||
if (node->content != NULL)
|
||||
return (xmlStrdup(node->content));
|
||||
default:
|
||||
return(NULL);
|
||||
break;
|
||||
}
|
||||
return(NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user