unused parameter warning and an invalid index
Changes to be committed: modified: win/tty/wintty.c
This commit is contained in:
+4
-3
@@ -1,4 +1,4 @@
|
|||||||
/* NetHack 3.6 wintty.c $NHDT-Date: 1447234979 2015/11/11 09:42:59 $ $NHDT-Branch: master $:$NHDT-Revision: 1.112 $ */
|
/* NetHack 3.6 wintty.c $NHDT-Date: 1447253778 2015/11/11 14:56:18 $ $NHDT-Branch: master $:$NHDT-Revision: 1.113 $ */
|
||||||
/* Copyright (c) David Cohrs, 1991 */
|
/* Copyright (c) David Cohrs, 1991 */
|
||||||
/* NetHack may be freely redistributed. See license for details. */
|
/* NetHack may be freely redistributed. See license for details. */
|
||||||
|
|
||||||
@@ -3022,7 +3022,8 @@ void
|
|||||||
tty_print_glyph(window, x, y, glyph, bkglyph)
|
tty_print_glyph(window, x, y, glyph, bkglyph)
|
||||||
winid window;
|
winid window;
|
||||||
xchar x, y;
|
xchar x, y;
|
||||||
int glyph, bkglyph;
|
int glyph;
|
||||||
|
int bkglyph UNUSED;
|
||||||
{
|
{
|
||||||
int ch;
|
int ch;
|
||||||
boolean reverse_on = FALSE;
|
boolean reverse_on = FALSE;
|
||||||
@@ -3360,7 +3361,6 @@ genericptr_t ptr;
|
|||||||
"%s", text);
|
"%s", text);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef STATUS_HILITES
|
#ifdef STATUS_HILITES
|
||||||
switch (tty_status_hilites[fldidx].behavior) {
|
switch (tty_status_hilites[fldidx].behavior) {
|
||||||
@@ -3426,6 +3426,7 @@ genericptr_t ptr;
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif /* STATUS_HILITES */
|
#endif /* STATUS_HILITES */
|
||||||
|
}
|
||||||
|
|
||||||
/* For now, this version copied from the genl_ version currently
|
/* For now, this version copied from the genl_ version currently
|
||||||
* updates everything on the display, everytime
|
* updates everything on the display, everytime
|
||||||
|
|||||||
Reference in New Issue
Block a user