Skip to content

Commit 95fbd20

Browse files
committed
Fix -Wmaybe-uninitialized warning in JIT
1 parent ad7b90b commit 95fbd20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4296,7 +4296,7 @@ static const void *zend_jit_trace(zend_jit_trace_rec *trace_buffer, uint32_t par
42964296
bool op1_indirect;
42974297
zend_class_entry *op1_ce = NULL;
42984298
zend_class_entry *op2_ce = NULL;
4299-
bool gen_handler;
4299+
bool gen_handler = false;
43004300

43014301
opline = p->opline;
43024302
if (op1_type & (IS_TRACE_REFERENCE|IS_TRACE_INDIRECT)) {

0 commit comments

Comments
 (0)