diff options
author | Karel Zak | 2013-10-15 13:29:19 +0200 |
---|---|---|
committer | Karel Zak | 2013-10-15 13:34:42 +0200 |
commit | 9c5eb6cfc1eea41359c58caaaef531867ae899b9 (patch) | |
tree | 7774fa3046c38a626c043fa0aedf4ba05ac04e24 /text-utils/more.c | |
parent | cal: fix warning when compiled --without-ncurses (diff) | |
download | kernel-qcow2-util-linux-9c5eb6cfc1eea41359c58caaaef531867ae899b9.tar.gz kernel-qcow2-util-linux-9c5eb6cfc1eea41359c58caaaef531867ae899b9.tar.xz kernel-qcow2-util-linux-9c5eb6cfc1eea41359c58caaaef531867ae899b9.zip |
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/more.c')
-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 598e04896..da5439b4a 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); } |