]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
more: fix warning when compiled --without-ncurses
authorKarel Zak <kzak@redhat.com>
Tue, 15 Oct 2013 11:29:19 +0000 (13:29 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 15 Oct 2013 11:34:42 +0000 (13:34 +0200)
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/more.c

index 598e048963a3c47577ff693a89774ef530fe3281..da5439b4a52e01b43e727ff14dd51c3294d1a75e 100644 (file)
@@ -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);
 }