Remove useless write to LIBXML(stream_context)

The value will always be overwritten.
This commit is contained in:
Niels Dossche 2024-02-24 23:47:50 +01:00
parent 30621b2ab4
commit a74da53fc4

View file

@ -1054,7 +1054,6 @@ PHP_FUNCTION(libxml_set_streams_context)
if (!Z_ISUNDEF(LIBXML(stream_context))) {
zval_ptr_dtor(&LIBXML(stream_context));
ZVAL_UNDEF(&LIBXML(stream_context));
}
ZVAL_COPY(&LIBXML(stream_context), arg);
}