]> granicus.if.org Git - nethack/commitdiff
tty unused parameter under some configs
authornhmall <nhmall@nethack.org>
Sun, 27 Dec 2020 17:51:40 +0000 (12:51 -0500)
committernhmall <nhmall@nethack.org>
Sun, 27 Dec 2020 17:51:40 +0000 (12:51 -0500)
win/tty/wintty.c

index 8d96256ebbac07be65c781b03fc026fc7ee728d6..e68e402722e7b876bbfe7496a1a11197f8abfa23 100644 (file)
@@ -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 */
 {