From 974b87f32eb006c76e7095e5eeeb443443fae854 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Tue, 11 Apr 2017 17:32:32 -0700 Subject: [PATCH] ARM9: Fix warnings --- src/arm/isa-arm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/arm/isa-arm.c b/src/arm/isa-arm.c index e30fafe1c..81e16678f 100644 --- a/src/arm/isa-arm.c +++ b/src/arm/isa-arm.c @@ -403,9 +403,11 @@ static inline void _immediate(struct ARMCore* cpu, uint32_t opcode) { #define DEFINE_MULTIPLY_INSTRUCTION_WY_ARM(NAME, BODY) \ DEFINE_MULTIPLY_INSTRUCTION_3_ARM(NAME ## B, \ + UNUSED(x); \ y = ARM_SXT_16(cpu->gprs[rs]); \ BODY) \ DEFINE_MULTIPLY_INSTRUCTION_3_ARM(NAME ## T, \ + UNUSED(x); \ y = ARM_SXT_16(cpu->gprs[rs] >> 16); \ BODY) \