Skip to content

Commit 94d814d

Browse files
committed
Fix false positive may be uninitialized compiler warning
1 parent a1f1637 commit 94d814d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_objects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ ZEND_API void zend_objects_destroy_object(zend_object *object)
100100

101101
if (destructor) {
102102
zend_object *old_exception;
103-
const zend_op *old_opline_before_exception;
103+
const zend_op *old_opline_before_exception = NULL;
104104

105105
if (destructor->op_array.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED)) {
106106
if (destructor->op_array.fn_flags & ZEND_ACC_PRIVATE) {

0 commit comments

Comments
 (0)