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:
Daniel Veillard 2003-03-22 22:39:16 +00:00
parent 2086382959
commit 2cfd9dff28
2 changed files with 7 additions and 2 deletions

View File

@ -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> 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. * relaxng.c: valgrind'ed and cleaned up a couple of memory issues.

View File

@ -2034,7 +2034,7 @@ xmlTextReaderHasValue(xmlTextReaderPtr reader) {
case XML_COMMENT_NODE: case XML_COMMENT_NODE:
return(1); return(1);
default: default:
return(0); break;
} }
return(0); return(0);
} }
@ -2080,7 +2080,7 @@ xmlTextReaderValue(xmlTextReaderPtr reader) {
if (node->content != NULL) if (node->content != NULL)
return (xmlStrdup(node->content)); return (xmlStrdup(node->content));
default: default:
return(NULL); break;
} }
return(NULL); return(NULL);
} }