jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.283

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