FOR_ALL_BUFFERS use locally declared buffer pointer

This commit is contained in:
Wayne Rowcliffe
2014-08-10 22:56:58 -05:00
parent 8cf45786b1
commit 888a31ba45
17 changed files with 63 additions and 88 deletions

View File

@@ -3571,7 +3571,6 @@ win_free (
)
{
int i;
buf_T *buf;
wininfo_T *wip;
handle_unregister_window(wp);
@@ -3584,13 +3583,6 @@ win_free (
* gui_mch_destroy_scrollbar() may trigger a FocusGained event. */
block_autocmds();
clear_winopt(&wp->w_onebuf_opt);
clear_winopt(&wp->w_allbuf_opt);