mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix compile warning
This commit is contained in:
@@ -364,11 +364,12 @@ static zval *php_dom_xpath_callback_fetch_args(xmlXPathParserContextPtr ctxt, ui
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
default: {
|
||||
char *str = (char *)xmlXPathCastToString(obj);
|
||||
ZVAL_STRING(param, str);
|
||||
xmlFree(str);
|
||||
break;
|
||||
}
|
||||
}
|
||||
xmlXPathFreeObject(obj);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user