summaryrefslogtreecommitdiff
path: root/gdb/tui/tui-stack.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-stack.c
parent727ac201d4273426750f36d9523a3d48399eba3c (diff)
downloadbinutils-gdb-ae3bccd49af51ab056588ec70dff8364b6266de5.tar.gz
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-stack.c')
-rw-r--r--gdb/tui/tui-stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c
index a2841ce0a4e..1630beaa59f 100644
--- a/gdb/tui/tui-stack.c
+++ b/gdb/tui/tui-stack.c
@@ -256,10 +256,10 @@ tui_show_locator_content (void)
string = tui_make_status_line (&element->which_element.locator);
wmove (locator->handle, 0, 0);
- wstandout (locator->handle);
+ (void) wstandout (locator->handle);
waddstr (locator->handle, string);
wclrtoeol (locator->handle);
- wstandend (locator->handle);
+ (void) wstandend (locator->handle);
tui_refresh_win (locator);
wmove (locator->handle, 0, 0);
xfree (string);