mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05: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…
x
Reference in New Issue
Block a user