1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

soap: Fix const-generic compile warning

This commit is contained in:
ndossche
2026-03-10 20:51:51 +01:00
parent ea8aab9220
commit ae0bf447b4

View File

@@ -2529,8 +2529,7 @@ static zval *to_zval_array(zval *ret, encodeTypePtr type, xmlNodePtr data)
if (data &&
(attr = get_attribute(data->properties,"arrayType")) &&
attr->children && attr->children->content) {
const char *type;
char *end, *ns;
char *type, *end, *ns;
xmlNsPtr nsptr;
parse_namespace(attr->children->content, &type, &ns);