Remove unused variables

Remove unused local variables and declare them conditionally when they
are used only on some architectures.
This commit is contained in:
Thomas Preud'homme
2011-05-16 14:15:32 +02:00
parent db9d5f0fa4
commit ee06ef9dd3
4 changed files with 14 additions and 8 deletions

View File

@ -991,7 +991,7 @@ ST_FUNC void asm_instr(void)
{
CString astr, astr1;
ASMOperand operands[MAX_ASM_OPERANDS];
int nb_inputs, nb_outputs, nb_operands, i, must_subst, out_reg;
int nb_outputs, nb_operands, i, must_subst, out_reg;
uint8_t clobber_regs[NB_ASM_REGS];
next();
@ -1040,7 +1040,6 @@ ST_FUNC void asm_instr(void)
token after the assembler parsing */
if (tok != ';')
expect("';'");
nb_inputs = nb_operands - nb_outputs;
/* save all values in the memory */
save_regs(0);