From b149dd08f499d20be44aeb7de5472688506560db Mon Sep 17 00:00:00 2001 From: cancel Date: Sun, 2 Dec 2018 11:00:01 +0900 Subject: [PATCH] Fix warning in release tui --- tui_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tui_main.c b/tui_main.c index 36d4afc..97d37e5 100644 --- a/tui_main.c +++ b/tui_main.c @@ -156,6 +156,8 @@ int main(int argc, char** argv) { int term_height = getmaxy(stdscr); int term_width = getmaxx(stdscr); assert(term_height >= 0 && term_width >= 0); + (void)term_height; + (void)term_width; // clear(); draw_debug_field(stdscr, 0, 0, field.buffer, field.height, field.width); draw_ui_bar(stdscr, term_height - 1, 0, input_file, tick_num);