]> granicus.if.org Git - nethack/commitdiff
another Microsoft compiler warning
authornhmall <nhmall@nethack.org>
Mon, 18 Jan 2021 04:14:13 +0000 (23:14 -0500)
committernhmall <nhmall@nethack.org>
Mon, 18 Jan 2021 04:14:13 +0000 (23:14 -0500)
win/curses/cursmain.c(760): warning C4189: 'win': local variable is initialized but not referenced

win/curses/cursmain.c

index 7d8d4ac118f6c339066300d591defcb9e48d13b3..02d38fce22ebd3d095040fb4c4dff717cc4641d8 100644 (file)
@@ -757,7 +757,7 @@ void
 curses_raw_print(const char *str)
 {
 #ifdef PDCURSES
-    WINDOW *win = curses_get_nhwin(MESSAGE_WIN);
+    /* WINDOW *win = curses_get_nhwin(MESSAGE_WIN); */
 
     curses_message_win_puts(str, FALSE);
 #else