summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index 25de2ce..22ec02e 100644
--- a/ui.c
+++ b/ui.c
@@ -455,6 +455,7 @@ static void mainAdd(int y, const char *str) {
 	styleAdd(main, str);
 	getyx(main, ny, nx);
 	if (ny == y) wclrtoeol(main);
+	(void)nx;
 }
 
 static void windowUpdate(void) {