about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-11 03:47:30 -0500
committerJune McEnroe <june@causal.agency>2020-02-11 03:47:30 -0500
commitb855ec62100efb8fa80ff68150f0789af180482a (patch)
tree8b91fb869a5e4d869723d128d376d9c9a8c18a14
parentDeclare strlcat (diff)
downloadcatgirl-b855ec62100efb8fa80ff68150f0789af180482a.tar.gz
catgirl-b855ec62100efb8fa80ff68150f0789af180482a.zip
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();
 }