From 09628210bdf22ac80a0c6f3e4228c1617c0887ec Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 25 Mar 2003 15:10:27 +0000 Subject: [PATCH] removing a warning with Sun compiler bug #109154 Daniel * xmlschemastypes.c: removing a warning with Sun compiler bug #109154 Daniel --- ChangeLog | 5 +++++ xmlschemastypes.c | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index caca93ad..a277707c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 25 16:07:00 CET 2003 Daniel Veillard + + * xmlschemastypes.c: removing a warning with Sun compiler + bug #109154 + Tue Mar 25 07:02:56 MST 2003 John Fleck * doc/xmllint.xml diff --git a/xmlschemastypes.c b/xmlschemastypes.c index cb29a557..de4dd84f 100644 --- a/xmlschemastypes.c +++ b/xmlschemastypes.c @@ -1661,11 +1661,9 @@ xmlSchemaValPredefTypeNode(xmlSchemaTypePtr type, const xmlChar *value, attr->atype = XML_ATTRIBUTE_ENTITY; } return(ret); - } else { - TODO - return(0); } - return(-1); + TODO + return(0); } /**