diff options
author | James Booth <boothj5@gmail.com> | 2015-06-15 17:40:22 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-15 17:40:22 +0100 |
commit | e9aa4ea0845b2e387a6512402d73fbc31b7bd393 (patch) | |
tree | 5b21f3273fe0966573d79e1afd9faca6c90283e3 /src/ui/windows.c | |
parent | 732533ee5ab58a6f0da2d90423d54e9e4520db04 (diff) | |
download | profani-tty-e9aa4ea0845b2e387a6512402d73fbc31b7bd393.tar.gz |
Removed unused variable
Diffstat (limited to 'src/ui/windows.c')
-rw-r--r-- | src/ui/windows.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |