From: nhmall Date: Sun, 27 Dec 2020 17:51:40 +0000 (-0500) Subject: tty unused parameter under some configs X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea1ffe5112fa5dfef9a7e5a9e6807546169f5ed2;p=nethack tty unused parameter under some configs --- diff --git a/win/tty/wintty.c b/win/tty/wintty.c index 8d96256eb..e68e40272 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -3418,7 +3418,11 @@ void tty_print_glyph(window, x, y, glyph, bkglyph, glyphmod) winid window; xchar x, y; +#ifdef TTY_TILES_ESCCODES int glyph; +#else +int glyph UNUSED; +#endif int bkglyph UNUSED; unsigned *glyphmod; /* don't mark UNUSED as we need to revisit */ {