home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.4 / 7.4.283 < prev    next >
Encoding:
Internet Message Format  |  2014-05-08  |  1.7 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.4.283
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.4.283 (after 7.4.276)
  11. Problem:    Compiler warning about unused variable. (Charles Cooper)
  12. Solution:   Move the variable inside the #if block.
  13. Files:        src/ex_cmds.c
  14.  
  15.  
  16. *** ../vim-7.4.282/src/ex_cmds.c    2014-05-07 15:10:17.657108310 +0200
  17. --- src/ex_cmds.c    2014-05-09 20:31:16.414789550 +0200
  18. ***************
  19. *** 1551,1559 ****
  20.   {
  21.       char_u    *buf;
  22.       long_u    len;
  23. -     int        is_fish_shell;
  24.   
  25.   #if (defined(UNIX) && !defined(ARCHIE)) || defined(OS2)
  26.       /* Account for fish's different syntax for subshells */
  27.       is_fish_shell = (fnamecmp(get_isolated_shell_name(), "fish") == 0);
  28.       if (is_fish_shell)
  29. --- 1551,1560 ----
  30.   {
  31.       char_u    *buf;
  32.       long_u    len;
  33.   
  34.   #if (defined(UNIX) && !defined(ARCHIE)) || defined(OS2)
  35. +     int        is_fish_shell;
  36.       /* Account for fish's different syntax for subshells */
  37.       is_fish_shell = (fnamecmp(get_isolated_shell_name(), "fish") == 0);
  38.       if (is_fish_shell)
  39. *** ../vim-7.4.282/src/version.c    2014-05-08 11:46:23.621757543 +0200
  40. --- src/version.c    2014-05-09 20:32:06.538789989 +0200
  41. ***************
  42. *** 736,737 ****
  43. --- 736,739 ----
  44.   {   /* Add new patch number below this line */
  45. + /**/
  46. +     283,
  47.   /**/
  48.  
  49. -- 
  50. Don't drink and drive.  You might hit a bump and spill your beer.
  51.  
  52.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  53. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  54. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  55.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  56.