From 9c5eb6cfc1eea41359c58caaaef531867ae899b9 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 15 Oct 2013 13:29:19 +0200 Subject: more: fix warning when compiled --without-ncurses Reported-by: Benno Schulenberg Signed-off-by: Karel Zak --- text-utils/more.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text-utils') diff --git a/text-utils/more.c b/text-utils/more.c index 598e0489..da5439b4 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -286,7 +286,7 @@ static void my_putstring(char *s) tputs(s, fileno(stdout), putchar); } -static void my_setupterm(char *term, int fildes, int *errret) +static void my_setupterm(char *term, int fildes __attribute__((__unused__)), int *errret) { *errret = tgetent(tcbuffer, term); } -- cgit v1.2.3