aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-regs.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2010-04-13 12:11:10 +0000
committerPierre Muller <muller@sourceware.org>2010-04-13 12:11:10 +0000
commitae3bccd49af51ab056588ec70dff8364b6266de5 (patch)
treed58a48db441272b0194b2f0e7fd2002294f893d0 /gdb/tui/tui-regs.c
parent727ac201d4273426750f36d9523a3d48399eba3c (diff)
downloadgdb-ae3bccd49af51ab056588ec70dff8364b6266de5.zip
gdb-ae3bccd49af51ab056588ec70dff8364b6266de5.tar.gz
gdb-ae3bccd49af51ab056588ec70dff8364b6266de5.tar.bz2
Suppress unused value warning during compilation.
* tui/tui-regs.c (tui_display_register): Cast wstandout and wstandend calls to void. * tui/tui-stack.c (tui_show_locator_content): Likewise.
Diffstat (limited to 'gdb/tui/tui-regs.c')
-rw-r--r--gdb/tui/tui-regs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index 248f71a..8cbd338 100644
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -541,7 +541,7 @@ tui_display_register (struct tui_data_element *data,
int i;
if (data->highlight)
- wstandout (win_info->handle);
+ (void) wstandout (win_info->handle);
wmove (win_info->handle, 0, 0);
for (i = 1; i < win_info->width; i++)
@@ -551,7 +551,7 @@ tui_display_register (struct tui_data_element *data,
waddstr (win_info->handle, data->content);
if (data->highlight)
- wstandend (win_info->handle);
+ (void) wstandend (win_info->handle);
tui_refresh_win (win_info);
}
}