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