From f25050b42d29be132d12707330a9527203d616e4 Mon Sep 17 00:00:00 2001
From: cancel <cancel@cancel.fm>
Date: Fri, 3 Jan 2020 01:37:50 +0900
Subject: [PATCH] Fix potential set-but-unused warning

---
 tui_main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tui_main.c b/tui_main.c
index 05551b2..40b7aa2 100644
--- a/tui_main.c
+++ b/tui_main.c
@@ -487,6 +487,7 @@ void advance_faketab(WINDOW* win, int offset_x, int tabstop) {
   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;