summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-27 10:47:26 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-10-27 10:47:26 +0100
commit92e1388c71f34fc5b201512ce1818f3ce4c56cfc (patch)
tree489359dd17d2a27969995a81d446dc9614bf3639 /crawl-ref/source/libunix.cc
parente9fe23fdd332db4fc14f0796893044115fd28bd4 (diff)
downloadcrawl-ref-92e1388c71f34fc5b201512ce1818f3ce4c56cfc.tar.gz
crawl-ref-92e1388c71f34fc5b201512ce1818f3ce4c56cfc.zip
(void) the ncurses warnings away.
Diffstat (limited to 'crawl-ref/source/libunix.cc')
-rw-r--r--crawl-ref/source/libunix.cc8
1 files 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) );
}