mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove useless write to LIBXML(stream_context)
The value will always be overwritten.
This commit is contained in:
parent
30621b2ab4
commit
a74da53fc4
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue