# HG changeset patch # User Bram Moolenaar # Date 1368652390 -7200 # Node ID e67522c4f56646bd6ef91ad63b152bcec96b2e05 # Parent ed236f59b41dba8135a598c5236e39efdf4a6990 updated for version 7.3.960 Problem: Compiler warning for unused variable. Solution: Put declaration in #ifdef. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 960, +/**/ 959, /**/ 958, diff --git a/src/window.c b/src/window.c --- a/src/window.c +++ b/src/window.c @@ -2124,7 +2124,9 @@ close_last_window_tabpage(win, free_buf, { 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