Fix "unused variable" warnings (errors) detected with GCC 4.7.0 - trivial fixes

This commit is contained in:
Freddie Chopin
2011-06-03 22:10:03 +02:00
committed by Øyvind Harboe
parent ae02a0e517
commit f6315d5e5b
22 changed files with 16 additions and 87 deletions

View File

@@ -300,7 +300,7 @@ static int evaluate_ldc_stc_mcrr_mrrc(uint32_t opcode,
else /* LDC or STC */
{
uint8_t CRd, Rn, offset;
uint8_t U, N;
uint8_t U;
char *mnemonic;
char addressing_mode[32];
@@ -321,7 +321,6 @@ static int evaluate_ldc_stc_mcrr_mrrc(uint32_t opcode,
}
U = (opcode & 0x00800000) >> 23;
N = (opcode & 0x00400000) >> 22;
/* addressing modes */
if ((opcode & 0x01200000) == 0x01000000) /* offset */