From 4e5bde67cb79cce150d429a4a5cfdcaf9dd6216b Mon Sep 17 00:00:00 2001 From: William McBrine Date: Sun, 14 Jan 2018 09:52:48 -0500 Subject: [PATCH] Unused parameter. --- pdcurses/getch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdcurses/getch.c b/pdcurses/getch.c index c26696da..7f8d8655 100644 --- a/pdcurses/getch.c +++ b/pdcurses/getch.c @@ -92,7 +92,7 @@ static int c_gindex = 1; /* getter index */ static int c_ungind = 0; /* ungetch() push index */ static int c_ungch[NUNGETCH]; /* array of ungotten chars */ -static int _mouse_key(WINDOW *win) +static int _mouse_key(void) { int i, key = KEY_MOUSE; unsigned long mbe = SP->_trap_mbe; @@ -247,7 +247,7 @@ int wgetch(WINDOW *win) area to function keys */ else if (key == KEY_MOUSE) - key = _mouse_key(win); + key = _mouse_key(); } /* unwanted key? loop back */