From 66ca9aa6aac32e8ca45dc491feba3c9aec838a0b Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 12 Dec 2020 16:11:06 +0100 Subject: [PATCH] Fixed two warnings on the old recompiler when compiling for 64-bit. --- src/codegen/codegen_ops_fpu.h | 2 +- src/codegen/codegen_ops_mmx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/codegen/codegen_ops_fpu.h b/src/codegen/codegen_ops_fpu.h index 481eadb8c..b15d41bff 100644 --- a/src/codegen/codegen_ops_fpu.h +++ b/src/codegen/codegen_ops_fpu.h @@ -146,7 +146,7 @@ static uint32_t ropFSTs(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint3 static uint32_t ropFSTd(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block) { x86seg *target_seg; - int host_reg1, host_reg2; + int host_reg1, host_reg2 = 0; FP_ENTER(); op_pc--; diff --git a/src/codegen/codegen_ops_mmx.h b/src/codegen/codegen_ops_mmx.h index 14730cb93..b669567fd 100644 --- a/src/codegen/codegen_ops_mmx.h +++ b/src/codegen/codegen_ops_mmx.h @@ -1,6 +1,6 @@ static uint32_t ropMOVQ_q_mm(uint8_t opcode, uint32_t fetchdat, uint32_t op_32, uint32_t op_pc, codeblock_t *block) { - int host_reg1, host_reg2; + int host_reg1, host_reg2 = 0; MMX_ENTER();