summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorC. McEnroe2020-02-11 03:47:30 -0500
committerC. McEnroe2020-02-11 03:47:30 -0500
commitb855ec62100efb8fa80ff68150f0789af180482a (patch)
tree8b91fb869a5e4d869723d128d376d9c9a8c18a14
parentd91f588288f22acf20736e03c22a51c2521ec89d (diff)
Cast set but unused variables to void
-rw-r--r--ui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index d3c5322..3017758 100644
--- a/ui.c
+++ b/ui.c
@@ -281,6 +281,7 @@ void uiDraw(void) {
BOTTOM, 0,
BOTTOM, RIGHT
);
+ (void)y;
doupdate();
if (!to_status_line) return;
@@ -578,6 +579,7 @@ static void resize(void) {
wresize(window->pad, BufferCap, COLS);
reflow(window);
}
+ (void)height;
statusUpdate();
}