lkundrak / rpms / vim

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