mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Fixed compiler warning.
This commit is contained in:
parent
68798e50ee
commit
ce73b66466
@ -1483,7 +1483,7 @@ static xmlNodePtr to_xml_object(encodeTypePtr type, zval *data, int style, xmlNo
|
||||
an implicit schema. Otherwise, use form.
|
||||
*/
|
||||
if (!strncmp((*attr)->namens, XML_NAMESPACE, sizeof(XML_NAMESPACE)) ||
|
||||
(*attr)->form == XSD_FORM_QUALIFIED && (*attr)->namens) {
|
||||
((*attr)->form == XSD_FORM_QUALIFIED) && (*attr)->namens) {
|
||||
xmlNsPtr nsp = encode_add_ns(xmlParam, (*attr)->namens);
|
||||
|
||||
xmlSetNsProp(xmlParam, nsp, (*attr)->name, dummy->children->content);
|
||||
|
Loading…
Reference in New Issue
Block a user