diff options
author | Karel Zak <kzak@redhat.com> | 2013-10-15 13:29:19 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2013-10-15 13:34:42 +0200 |
commit | 9c5eb6cfc1eea41359c58caaaef531867ae899b9 (patch) | |
tree | 7774fa3046c38a626c043fa0aedf4ba05ac04e24 /text-utils | |
parent | 7bd3336f9a771e69ea2b761cff37f86c364dc787 (diff) | |
download | util-linux-9c5eb6cfc1eea41359c58caaaef531867ae899b9.tar.gz |
more: fix warning when compiled --without-ncurses
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils')
-rw-r--r-- | text-utils/more.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |