mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.960
Problem: Compiler warning for unused variable. Solution: Put declaration in #ifdef.
This commit is contained in:
@@ -2124,7 +2124,9 @@ close_last_window_tabpage(win, free_buf, prev_curtab)
|
||||
{
|
||||
if (firstwin == lastwin)
|
||||
{
|
||||
#ifdef FEAT_AUTOCMD
|
||||
buf_T *old_curbuf = curbuf;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Closing the last window in a tab page. First go to another tab
|
||||
|
Reference in New Issue
Block a user