Skip to content

Commit 2bf9f7e

Browse files
committed
Fix compilation warning
1 parent c8c9fc3 commit 2bf9f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_ir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ static const void *zend_jit_get_veneer(ir_ctx *ctx, const void *addr)
382382
static bool zend_jit_set_veneer(ir_ctx *ctx, const void *addr, const void *veneer)
383383
{
384384
int i, count = sizeof(zend_jit_stubs) / sizeof(zend_jit_stubs[0]);
385-
int64_t offset;
386385
uint32_t exit_point = zend_jit_exit_point_by_addr(addr);
387386

388387
if (exit_point != (uint32_t)-1) {
@@ -394,6 +393,7 @@ static bool zend_jit_set_veneer(ir_ctx *ctx, const void *addr, const void *venee
394393
*ptr = veneer;
395394
ctx->flags2 |= IR_HAS_VENEERS;
396395
#ifdef HAVE_CAPSTONE
396+
int64_t offset;
397397
if (JIT_G(debug) & ZEND_JIT_DEBUG_ASM) {
398398
const char *name = ir_disasm_find_symbol((uint64_t)(uintptr_t)addr, &offset);
399399

0 commit comments

Comments
 (0)