From e9aa4ea0845b2e387a6512402d73fbc31b7bd393 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 15 Jun 2015 17:40:22 +0100 Subject: Removed unused variable --- src/ui/windows.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/ui/windows.c b/src/ui/windows.c index 38c7079a..f3f6967b 100644 --- a/src/ui/windows.c +++ b/src/ui/windows.c @@ -51,7 +51,6 @@ static GHashTable *windows; static int current; -static int max_cols; void wins_init(void) @@ -59,7 +58,6 @@ wins_init(void) windows = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, (GDestroyNotify)win_free); - max_cols = getmaxx(stdscr); ProfWin *console = win_create_console(); g_hash_table_insert(windows, GINT_TO_POINTER(1), console); -- cgit 1.4.1-2-gfad0