jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.283

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