Skip to content

Commit a74da53

Browse files
committed
Remove useless write to LIBXML(stream_context)
The value will always be overwritten.
1 parent 30621b2 commit a74da53

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/libxml/libxml.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,6 @@ PHP_FUNCTION(libxml_set_streams_context)
10541054

10551055
if (!Z_ISUNDEF(LIBXML(stream_context))) {
10561056
zval_ptr_dtor(&LIBXML(stream_context));
1057-
ZVAL_UNDEF(&LIBXML(stream_context));
10581057
}
10591058
ZVAL_COPY(&LIBXML(stream_context), arg);
10601059
}

0 commit comments

Comments
 (0)