Patch 7.3.960
Problem:    Compiler warning for unused variable.
Solution:   Put declaration in #ifdef.
Files:      src/window.c


*** ../vim-7.3.959/src/window.c 2013-05-15 15:12:25.000000000 +0200
--- src/window.c        2013-05-15 23:11:02.000000000 +0200
***************
*** 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
*** ../vim-7.3.959/src/version.c        2013-05-15 19:44:35.000000000 +0200
--- src/version.c       2013-05-15 23:12:12.000000000 +0200
***************
*** 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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui