aboutsummaryrefslogtreecommitdiff
path: root/tccasm.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2017-05-08 20:26:59 +0200
committerMichael Matz <matz@suse.de>2017-05-08 20:26:59 +0200
commitdfb75d9b6ccbf57fe2ec2768a118224034d72829 (patch)
treef235b3d203cc8851d4446365e5459f89ec5c1786 /tccasm.c
parent377e8e5e68c52fe05bb33d87b4e29a7dd0db5f71 (diff)
downloadtinycc-dfb75d9b6ccbf57fe2ec2768a118224034d72829.tar.gz
tinycc-dfb75d9b6ccbf57fe2ec2768a118224034d72829.tar.bz2
Remove some unused arguments
these ones are really superfluous.
Diffstat (limited to 'tccasm.c')
-rw-r--r--tccasm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tccasm.c b/tccasm.c
index 4d93b59..c8b2666 100644
--- a/tccasm.c
+++ b/tccasm.c
@@ -1087,7 +1087,6 @@ ST_FUNC int find_constraint(ASMOperand *operands, int nb_operands,
}
static void subst_asm_operands(ASMOperand *operands, int nb_operands,
- int nb_outputs,
CString *out_str, CString *in_str)
{
int c, index, modifier;
@@ -1256,7 +1255,7 @@ ST_FUNC void asm_instr(void)
printf("asm: \"%s\"\n", (char *)astr.data);
#endif
if (must_subst) {
- subst_asm_operands(operands, nb_operands, nb_outputs, &astr1, &astr);
+ subst_asm_operands(operands, nb_operands, &astr1, &astr);
cstr_free(&astr);
} else {
astr1 = astr;