summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-05-26 18:37:29 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-05-26 18:37:29 +0200
commit38c85efe83004d98b7cce89689b40de32f8b8add (patch)
tree68955668fff4a1831dfaf461d104e1eb26032511
parentd2508ef94704b10332e2af2ed0c09d0012cffd69 (diff)
downloadphp-git-38c85efe83004d98b7cce89689b40de32f8b8add.tar.gz
Fix picky builds
Due to `-Werror=maybe-uninitialized` a bogus warning may be thrown, so we initialize the variable to work-around that.
-rw-r--r--ext/opcache/jit/zend_jit_x86.dasc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/jit/zend_jit_x86.dasc b/ext/opcache/jit/zend_jit_x86.dasc
index cf0d74646a..e7b17b0b8e 100644
--- a/ext/opcache/jit/zend_jit_x86.dasc
+++ b/ext/opcache/jit/zend_jit_x86.dasc
@@ -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));