mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Compiler warning fixes.
This commit is contained in:
parent
cba426ca13
commit
72da689340
3 changed files with 8 additions and 0 deletions
|
@ -1526,6 +1526,8 @@ _dom_document_schema_validate(INTERNAL_FUNCTION_PARAMETERS, int type)
|
|||
/* If loading from memory, we need to set the base directory for the document
|
||||
but it is not apparent how to do that for schema's */
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
||||
xmlSchemaSetParserErrors(parser,
|
||||
|
@ -1609,6 +1611,8 @@ _dom_document_relaxNG_validate(INTERNAL_FUNCTION_PARAMETERS, int type)
|
|||
/* If loading from memory, we need to set the base directory for the document
|
||||
but it is not apparent how to do that for schema's */
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
||||
xmlRelaxNGSetParserErrors(parser,
|
||||
|
|
|
@ -200,6 +200,8 @@ PHP_FUNCTION(dom_namednodemap_item)
|
|||
itemnode = curnode;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
RETVAL_NULL();
|
||||
}
|
||||
|
||||
if (itemnode) {
|
||||
|
|
|
@ -134,6 +134,8 @@ PHP_FUNCTION(dom_nodelist_item)
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
RETVAL_NULL();
|
||||
}
|
||||
|
||||
if (itemnode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue