summaryrefslogtreecommitdiff
path: root/src/fe-text/textbuffer-commands.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2006-09-13 17:11:36 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2006-09-13 17:11:36 +0000
commit3ff0ddeac430599f34c30ac53aaeb70b7500658b (patch)
tree3c8daaf39a04ecc8ca18c7c31d86ec84e0fd0c24 /src/fe-text/textbuffer-commands.c
parent904e01175caaa0a1d1130b984e25c897676304ce (diff)
downloadirssi-3ff0ddeac430599f34c30ac53aaeb70b7500658b.zip
Remove redundant variable.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4346 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/textbuffer-commands.c')
-rw-r--r--src/fe-text/textbuffer-commands.c3
1 files changed, 1 insertions, 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') {