shithub: orca

Download patch

ref: b149dd08f499d20be44aeb7de5472688506560db
parent: a38b80cbfe23198c09c8f7e699670fa392f6043d
author: cancel <cancel@cancel.fm>
date: Sun Dec 2 06:00:01 EST 2018

Fix warning in release tui

--- a/tui_main.c
+++ b/tui_main.c
@@ -156,6 +156,8 @@
     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);