From 92e1388c71f34fc5b201512ce1818f3ce4c56cfc Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Tue, 27 Oct 2009 10:47:26 +0100 Subject: (void) the ncurses warnings away. --- crawl-ref/source/libunix.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc index 96046f6900..ebd2340d32 100644 --- a/crawl-ref/source/libunix.cc +++ b/crawl-ref/source/libunix.cc @@ -417,7 +417,7 @@ static void unix_handle_terminal_resize() void clear_message_window() { - wattrset( Message_Window, curs_fg_attr(LIGHTGREY) ); + (void)wattrset( Message_Window, curs_fg_attr(LIGHTGREY) ); werase( Message_Window ); wrefresh( Message_Window ); } @@ -425,7 +425,7 @@ void clear_message_window() void message_out(int which_line, int color, const char *s, int firstcol, bool newline) { - wattrset( Message_Window, curs_fg_attr(color) ); + (void)wattrset( Message_Window, curs_fg_attr(color) ); if (!firstcol) firstcol = Options.delay_message_clear? 1 : 0; @@ -953,7 +953,7 @@ static int curs_fg_attr(int col) void textcolor(int col) { - attrset( Current_Colour = curs_fg_attr(col) ); + (void)attrset( Current_Colour = curs_fg_attr(col) ); } static int curs_bg_attr(int col) @@ -1012,7 +1012,7 @@ static int curs_bg_attr(int col) void textbackground(int col) { - attrset( Current_Colour = curs_bg_attr(col) ); + (void)attrset( Current_Colour = curs_bg_attr(col) ); } -- cgit v1.2.3-54-g00ecf