diff --git a/src/arm/isa-arm.c b/src/arm/isa-arm.c index 576eeb874..b3bb3c9da 100644 --- a/src/arm/isa-arm.c +++ b/src/arm/isa-arm.c @@ -287,7 +287,7 @@ ATTRIBUTE_NOINLINE static void _neutralS(struct ARMCore* cpu, int32_t d) { SHIFTER(cpu, opcode); \ int rd = (opcode >> 12) & 0xF; \ int rn = (opcode >> 16) & 0xF; \ - int32_t n = cpu->gprs[rn]; \ + int32_t n ATTRIBUTE_UNUSED = cpu->gprs[rn]; \ if (UNLIKELY(rn == ARM_PC && (opcode & 0x02000010) == 0x00000010)) { \ n += WORD_SIZE_ARM; \ } \ @@ -358,7 +358,7 @@ ATTRIBUTE_NOINLINE static void _neutralS(struct ARMCore* cpu, int32_t d) { uint32_t address; \ int rn = (opcode >> 16) & 0xF; \ int rd = (opcode >> 12) & 0xF; \ - int32_t d = cpu->gprs[rd]; \ + int32_t d ATTRIBUTE_UNUSED = cpu->gprs[rd]; \ if (UNLIKELY(rd == ARM_PC)) { \ d += WORD_SIZE_ARM; \ } \