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 committed by GitHub
parent 7b74cadf8c
commit 4fe821311c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 109 additions and 27 deletions

View file

@ -419,8 +419,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;