about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-15 17:40:22 +0100
committerJames Booth <boothj5@gmail.com>2015-06-15 17:40:22 +0100
commite9aa4ea0845b2e387a6512402d73fbc31b7bd393 (patch)
tree5b21f3273fe0966573d79e1afd9faca6c90283e3 /src
parent732533ee5ab58a6f0da2d90423d54e9e4520db04 (diff)
downloadprofani-tty-e9aa4ea0845b2e387a6512402d73fbc31b7bd393.tar.gz
Removed unused variable
Diffstat (limited to 'src')
-rw-r--r--src/ui/windows.c2
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);