+2010-04-13 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ 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.
+
2010-04-12 Stan Shebs <stan@codesourcery.com>
* tracepoint.c (tfile_xfer_partial): Check read result.
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++)
waddstr (win_info->handle, data->content);
if (data->highlight)
- wstandend (win_info->handle);
+ (void) wstandend (win_info->handle);
tui_refresh_win (win_info);
}
}
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);