0
0
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:
Bram Moolenaar
2013-05-15 23:13:10 +02:00
parent 54e8f00581
commit 07729b25bf
2 changed files with 4 additions and 0 deletions

View File

@@ -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