diff options
| author | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2011-05-16 14:15:32 +0200 |
|---|---|---|
| committer | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2011-05-16 14:15:32 +0200 |
| commit | ee06ef9dd394f26b11fef078f07c635a02fd95d6 (patch) | |
| tree | ff9839a42156909393bd121ade708221358377e7 /tccasm.c | |
| parent | db9d5f0fa4dc65bbf869ee4f98f53eafbab6059f (diff) | |
| download | tinycc-ee06ef9dd394f26b11fef078f07c635a02fd95d6.tar.gz tinycc-ee06ef9dd394f26b11fef078f07c635a02fd95d6.tar.bz2 | |
Remove unused variables
Remove unused local variables and declare them conditionally when they
are used only on some architectures.
Diffstat (limited to 'tccasm.c')
| -rw-r--r-- | tccasm.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |
