aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/test/filter.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-05-17 08:21:06 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-05-17 08:21:06 +0000
commit7a69bbfb278952228c9aa1eca241e65fcdef425e (patch)
treee83b2ef47811e687a6c54035c9af6d4a2b7f14e1 /contrib/ncurses/test/filter.c
parent18259542b2f8fa7e3f76f4bb0dd37995dfd424aa (diff)
downloadsrc-7a69bbfb278952228c9aa1eca241e65fcdef425e.tar.gz
src-7a69bbfb278952228c9aa1eca241e65fcdef425e.zip
Import ncurses-5.2-20010512 onto the vendor branch
Obtained from: ftp://dickey.his.com/ncurses/
Notes
Notes: svn path=/vendor/ncurses/dist/; revision=76726
Diffstat (limited to 'contrib/ncurses/test/filter.c')
-rw-r--r--contrib/ncurses/test/filter.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/ncurses/test/filter.c b/contrib/ncurses/test/filter.c
index 272f3722b7c7..6ccaffd106bf 100644
--- a/contrib/ncurses/test/filter.c
+++ b/contrib/ncurses/test/filter.c
@@ -29,7 +29,7 @@
/*
* Author: Thomas E. Dickey <dickey@clark.net> 1998
*
- * $Id: filter.c,v 1.4 2000/09/02 18:50:38 tom Exp $
+ * $Id: filter.c,v 1.5 2001/02/24 22:11:58 tom Exp $
*/
#include <test.priv.h>
@@ -69,12 +69,11 @@ new_command(char *buffer, int length, attr_t underline)
int
main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED)
{
- SCREEN *sp;
char buffer[80];
attr_t underline;
filter();
- sp = newterm((char *) 0, stdout, stdin);
+ (void) newterm((char *) 0, stdout, stdin);
cbreak();
keypad(stdscr, TRUE);