Skip to content

Commit 38c85ef

Browse files
committed
Fix picky builds
Due to `-Werror=maybe-uninitialized` a bogus warning may be thrown, so we initialize the variable to work-around that.
1 parent d2508ef commit 38c85ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3578,7 +3578,7 @@ static int zend_jit_inc_dec(dasm_State **Dst, const zend_op *opline, const zend_
35783578
int32_t exit_point;
35793579
const void *exit_addr;
35803580
zend_jit_trace_stack *stack;
3581-
uint32_t old_op1_info, old_res_info;
3581+
uint32_t old_op1_info, old_res_info = 0;
35823582

35833583
stack = JIT_G(current_frame)->stack;
35843584
old_op1_info = STACK_INFO(stack, EX_VAR_TO_NUM(opline->op1.var));

0 commit comments

Comments
 (0)