Blame SOURCES/7.4.283

d6ba96
To: vim_dev@googlegroups.com
d6ba96
Subject: Patch 7.4.283
d6ba96
Fcc: outbox
d6ba96
From: Bram Moolenaar <Bram@moolenaar.net>
d6ba96
Mime-Version: 1.0
d6ba96
Content-Type: text/plain; charset=UTF-8
d6ba96
Content-Transfer-Encoding: 8bit
d6ba96
------------
d6ba96
d6ba96
Patch 7.4.283 (after 7.4.276)
d6ba96
Problem:    Compiler warning about unused variable. (Charles Cooper)
d6ba96
Solution:   Move the variable inside the #if block.
d6ba96
Files:	    src/ex_cmds.c
d6ba96
d6ba96
d6ba96
*** ../vim-7.4.282/src/ex_cmds.c	2014-05-07 15:10:17.657108310 +0200
d6ba96
--- src/ex_cmds.c	2014-05-09 20:31:16.414789550 +0200
d6ba96
***************
d6ba96
*** 1551,1559 ****
d6ba96
  {
d6ba96
      char_u	*buf;
d6ba96
      long_u	len;
d6ba96
-     int		is_fish_shell;
d6ba96
  
d6ba96
  #if (defined(UNIX) && !defined(ARCHIE)) || defined(OS2)
d6ba96
      /* Account for fish's different syntax for subshells */
d6ba96
      is_fish_shell = (fnamecmp(get_isolated_shell_name(), "fish") == 0);
d6ba96
      if (is_fish_shell)
d6ba96
--- 1551,1560 ----
d6ba96
  {
d6ba96
      char_u	*buf;
d6ba96
      long_u	len;
d6ba96
  
d6ba96
  #if (defined(UNIX) && !defined(ARCHIE)) || defined(OS2)
d6ba96
+     int		is_fish_shell;
d6ba96
+ 
d6ba96
      /* Account for fish's different syntax for subshells */
d6ba96
      is_fish_shell = (fnamecmp(get_isolated_shell_name(), "fish") == 0);
d6ba96
      if (is_fish_shell)
d6ba96
*** ../vim-7.4.282/src/version.c	2014-05-08 11:46:23.621757543 +0200
d6ba96
--- src/version.c	2014-05-09 20:32:06.538789989 +0200
d6ba96
***************
d6ba96
*** 736,737 ****
d6ba96
--- 736,739 ----
d6ba96
  {   /* Add new patch number below this line */
d6ba96
+ /**/
d6ba96
+     283,
d6ba96
  /**/
d6ba96
d6ba96
-- 
d6ba96
Don't drink and drive.  You might hit a bump and spill your beer.
d6ba96
d6ba96
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
d6ba96
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
d6ba96
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
d6ba96
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///