From 3ff0ddeac430599f34c30ac53aaeb70b7500658b Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Wed, 13 Sep 2006 17:11:36 +0000 Subject: [PATCH] Remove redundant variable. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4346 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/textbuffer-commands.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fe-text/textbuffer-commands.c b/src/fe-text/textbuffer-commands.c index 120814f4..9e00a0cc 100644 --- a/src/fe-text/textbuffer-commands.c +++ b/src/fe-text/textbuffer-commands.c @@ -51,8 +51,7 @@ static void cmd_clear(const char *data) if (g_hash_table_lookup(optlist, "all") != NULL) { /* clear all windows */ for (tmp = windows; tmp != NULL; tmp = tmp->next) { - WINDOW_REC *window = tmp->data; - + window = tmp->data; textbuffer_view_clear(WINDOW_GUI(window)->view); } } else if (*refnum != '\0') {