diff options
author | Pierre Muller <muller@sourceware.org> | 2010-04-13 12:11:10 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2010-04-13 12:11:10 +0000 |
commit | ae3bccd49af51ab056588ec70dff8364b6266de5 (patch) | |
tree | d58a48db441272b0194b2f0e7fd2002294f893d0 /gdb/tui/tui-stack.c | |
parent | 727ac201d4273426750f36d9523a3d48399eba3c (diff) | |
download | gdb-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-stack.c')
-rw-r--r-- | gdb/tui/tui-stack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c index a2841ce..1630bea 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); |