1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 20:25:14 +03:00

Fix a couple of return without value

Error introduced in previous commit !
This commit is contained in:
Jüri Aedla 2013-04-16 22:00:13 +08:00 committed by Daniel Veillard
parent b123711189
commit 9ca816b3a6

View File

@ -7784,7 +7784,7 @@ xmlParseStringEntityRef(xmlParserCtxtPtr ctxt, const xmlChar ** str) {
}
if (ctxt->instate == XML_PARSER_EOF) {
xmlFree(name);
return;
return(NULL);
}
/*
@ -8189,7 +8189,7 @@ xmlParseStringPEReference(xmlParserCtxtPtr ctxt, const xmlChar **str) {
entity = ctxt->sax->getParameterEntity(ctxt->userData, name);
if (ctxt->instate == XML_PARSER_EOF) {
xmlFree(name);
return;
return(NULL);
}
if (entity == NULL) {
/*