mirror of
https://github.com/irssi/irssi.git
synced 2024-09-08 04:26:01 -04:00
Remove redundant variable.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4346 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
904e01175c
commit
3ff0ddeac4
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user