From 88e7a18d1873592f8b084b0e2a516de8d2f3fdc0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 27 Feb 2025 04:16:49 -0500 Subject: listamsb: remove unused arg to unknown_token(). --- listamsb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'listamsb.c') diff --git a/listamsb.c b/listamsb.c index a2a9110..b49b74e 100644 --- a/listamsb.c +++ b/listamsb.c @@ -227,7 +227,7 @@ void read_header(void) { } } -void unknown_token(int lineno, unsigned char byte, int ext) { +void unknown_token(unsigned char byte, int ext) { fprintf(outfile, "", (ext ? "$ff ": ""), byte); } @@ -335,7 +335,7 @@ int next_line(void) { if(byte >= MIN_EXT_TOK && byte <= MAX_EXT_TOK) { if(printing) fputs(ext_tokens[byte - MIN_EXT_TOK], outfile); } else { - if(printing) unknown_token(lineno, byte, 1); + if(printing) unknown_token(byte, 1); warnings++; } was_ff = 0; @@ -346,7 +346,7 @@ int next_line(void) { if(byte == TOK_SQUOTE || byte == TOK_BANG || byte == TOK_REM) in_comment = 1; } else if(byte >= 0x80) { - if(printing) unknown_token(lineno, byte, 0); + if(printing) unknown_token(byte, 0); warnings++; } else { if(!byte) break; -- cgit v1.2.3