ref: f25050b42d29be132d12707330a9527203d616e4
parent: 96f86b425c5bf44b00e3a90e80067d8bdb93ad7b
author: cancel <cancel@cancel.fm>
date: Thu Jan 2 20:37:50 EST 2020
Fix potential set-but-unused warning
--- a/tui_main.c
+++ b/tui_main.c
@@ -487,6 +487,7 @@
int y, x, h, w;
getyx(win, y, x);
getmaxyx(win, h, w);
+ (void)h;
x = ((x + tabstop - 1) / tabstop) * tabstop + offset_x % tabstop;
if (w < 1)
w = 1;