trickier lint cleanup
Suppress some mostly longstanding "unused parameter" warnings where the usage was generally conditional. restlevl() had a conditional closing brace that confused the recent reformat, resulting in some code inside a funciton ending up flush against the left border (first column, that is, as if outside of the function).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 wintty.c $NHDT-Date: 1432512813 2015/05/25 00:13:33 $ $NHDT-Branch: master $:$NHDT-Revision: 1.93 $ */
|
||||
/* NetHack 3.6 wintty.c $NHDT-Date: 1432536533 2015/05/25 06:48:53 $ $NHDT-Branch: master $:$NHDT-Revision: 1.94 $ */
|
||||
/* Copyright (c) David Cohrs, 1991 */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -2980,9 +2980,13 @@ int *x, *y, *mod;
|
||||
if (ttyDisplay && ttyDisplay->toplin == 1)
|
||||
ttyDisplay->toplin = 2;
|
||||
return i;
|
||||
#else
|
||||
#else /* !WIN32CON */
|
||||
nhUse(x);
|
||||
nhUse(y);
|
||||
nhUse(mod);
|
||||
|
||||
return tty_nhgetch();
|
||||
#endif
|
||||
#endif /* ?WIN32CON */
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user