more warning bits

This commit is contained in:
nhmall
2020-10-10 16:28:17 -04:00
parent 062152d62e
commit 48fa4fa5dd
11 changed files with 50 additions and 27 deletions

View File

@@ -3592,7 +3592,11 @@ tty_nhgetch()
/*ARGSUSED*/
int
tty_nh_poskey(x, y, mod)
#if defined(WIN32CON)
int *x, *y, *mod;
#else
int *x UNUSED, *y UNUSED, *mod UNUSED;
#endif
{
int i;
@@ -3612,10 +3616,6 @@ int *x, *y, *mod;
if (ttyDisplay && ttyDisplay->toplin == 1)
ttyDisplay->toplin = 2;
#else /* !WIN32CON */
nhUse(x);
nhUse(y);
nhUse(mod);
i = tty_nhgetch();
#endif /* ?WIN32CON */
return i;