aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/test/filter.c
diff options
context:
space:
mode:
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);