Cast set but unused variables to void

weechat-hashes
C. McEnroe 2020-02-11 03:47:30 -05:00
parent d91f588288
commit b855ec6210
1 changed files with 2 additions and 0 deletions

2
ui.c
View File

@ -281,6 +281,7 @@ void uiDraw(void) {
BOTTOM, 0, BOTTOM, 0,
BOTTOM, RIGHT BOTTOM, RIGHT
); );
(void)y;
doupdate(); doupdate();
if (!to_status_line) return; if (!to_status_line) return;
@ -578,6 +579,7 @@ static void resize(void) {
wresize(window->pad, BufferCap, COLS); wresize(window->pad, BufferCap, COLS);
reflow(window); reflow(window);
} }
(void)height;
statusUpdate(); statusUpdate();
} }