1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00

Fix picky builds

Due to `-Werror=maybe-uninitialized` a bogus warning may be thrown, so
we initialize the variable to work-around that.
This commit is contained in:
Christoph M. Becker
2020-05-26 18:37:29 +02:00
parent d2508ef947
commit 38c85efe83
+1 -1
View File
@@ -3578,7 +3578,7 @@ static int zend_jit_inc_dec(dasm_State **Dst, const zend_op *opline, const zend_
int32_t exit_point;
const void *exit_addr;
zend_jit_trace_stack *stack;
uint32_t old_op1_info, old_res_info;
uint32_t old_op1_info, old_res_info = 0;
stack = JIT_G(current_frame)->stack;
old_op1_info = STACK_INFO(stack, EX_VAR_TO_NUM(opline->op1.var));