diff --git a/src/npc.c b/src/npc.c index b35aba4..7ef760a 100644 --- a/src/npc.c +++ b/src/npc.c @@ -25,7 +25,7 @@ char *program_name = "npc"; static int -ioerr(char *argv0, int err) { +ioerr(char *argv0) { perror(argv0); return EX_IOERR; @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) { break; case '\n': if (showend && fputc('$', stdout) == EOF) { - return ioerr(argv[0]); } + return ioerr(argv[0]); } default: if (c >= ' ' || c == '\n' || (!showtab && c == '\t')) {