summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-windows.c
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@irssi.org>2009-03-01 00:22:29 +0000
committerjilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564>2009-03-01 00:22:29 +0000
commitafdb462c5922407a490894834c65ce792d9dcc8a (patch)
tree810413ffba191a7e350100260b61eccd7dc67c23 /src/fe-text/gui-windows.c
parent0764675409e9aeb665b2f35a29dcba7cd81a3654 (diff)
downloadirssi-afdb462c5922407a490894834c65ce792d9dcc8a.zip
Remove unused variables.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5032 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-windows.c')
-rw-r--r--src/fe-text/gui-windows.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fe-text/gui-windows.c b/src/fe-text/gui-windows.c
index e0ce2e35..4213149d 100644
--- a/src/fe-text/gui-windows.c
+++ b/src/fe-text/gui-windows.c
@@ -68,7 +68,7 @@ static void sig_window_create_override(gpointer tab)
static void gui_window_created(WINDOW_REC *window, void *automatic)
{
MAIN_WINDOW_REC *parent;
- int empty_window, new_parent;
+ int new_parent;
g_return_if_fail(window != NULL);
@@ -84,8 +84,6 @@ static void gui_window_created(WINDOW_REC *window, void *automatic)
}
window_create_override = -1;
- empty_window = parent->active == NULL;
-
if (parent->active == NULL) parent->active = window;
window->gui_data = gui_window_init(window, parent);