| To: vim_dev@googlegroups.com |
| Subject: Patch 7.3.960 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.3.960 |
| Problem: Compiler warning for unused variable. |
| Solution: Put declaration in #ifdef. |
| Files: src/window.c |
| |
| |
| |
| |
| |
| *** 2124,2130 **** |
| --- 2124,2132 ---- |
| { |
| 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 |
| |
| |
| |
| *** 730,731 **** |
| --- 730,733 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 960, |
| /**/ |
| |
| -- |
| Did you ever stop to think... and forget to start again? |
| -- Steven Wright |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ an exciting new programming language -- http://www.Zimbu.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |