mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove useless write to LIBXML(stream_context)
The value will always be overwritten.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user