From ee06ef9dd394f26b11fef078f07c635a02fd95d6 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Mon, 16 May 2011 14:15:32 +0200 Subject: Remove unused variables Remove unused local variables and declare them conditionally when they are used only on some architectures. --- tccasm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tccasm.c') diff --git a/tccasm.c b/tccasm.c index 263b0f5..36a5720 100644 --- a/tccasm.c +++ b/tccasm.c @@ -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); -- cgit v1.3.1