mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02: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
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue