Backport 4fe82131: Backport libxml2 2.13.2 fixes (#14816)

Backproted from https://github.com/php/php-src/pull/14789
This commit is contained in:
Niels Dossche 2024-07-04 06:29:50 -07:00
parent dbde99d875
commit bb46b4b799
17 changed files with 107 additions and 25 deletions

View file

@ -430,8 +430,10 @@ php_libxml_input_buffer_create_filename(const char *URI, xmlCharEncoding enc)
static xmlOutputBufferPtr
php_libxml_output_buffer_create_filename(const char *URI,
xmlCharEncodingHandlerPtr encoder,
int compression ATTRIBUTE_UNUSED)
int compression)
{
ZEND_IGNORE_VALUE(compression);
xmlOutputBufferPtr ret;
xmlURIPtr puri;
void *context = NULL;