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)
downloadtest-b855ec62100efb8fa80ff68150f0789af180482a.tar.gz
test-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();
 }
 
1&follow=1'>Fix weird tab-complete after commaJune McEnroe 2018-09-13Rewrite UI againJune McEnroe 2018-09-12Add note about C-oJune McEnroe 2018-09-12Use formatParse split to position input cursorJune McEnroe 2018-09-12Factor out IRC formatting parsingJune McEnroe 2018-09-11Add /help equivalent to /manJune McEnroe 2018-09-11Don't render every PM as a pingJune McEnroe 2018-09-11Add urlOpenMatchJune McEnroe 2018-09-10Depend on man.sh for chroot.tar targetJune McEnroe 2018-09-10Set LESSSECURE=1 in man.shJune McEnroe 2018-09-10Add /man commandJune McEnroe 2018-09-10Install man page in chrootJune McEnroe 2018-09-10Install man pageJune McEnroe 2018-09-10Split keys into subsections and document colorsJune McEnroe 2018-09-10Add "blank" lines to chatte.1June McEnroe 2018-09-10Document key bindings in chatte.1June McEnroe 2018-09-08Document slash commands in chatte.1June McEnroe