summaryrefslogtreecommitdiffstats
path: root/patches/source/vim/patches/7.4.283
blob: 213847035ac89b000b5ef5228d86b64c7c7263c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
To: vim_dev@googlegroups.com
Subject: Patch 7.4.283
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.4.283 (after 7.4.276)
Problem:    Compiler warning about unused variable. (Charles Cooper)
Solution:   Move the variable inside the #if block.
Files:	    src/ex_cmds.c


*** ../vim-7.4.282/src/ex_cmds.c	2014-05-07 15:10:17.657108310 +0200
--- src/ex_cmds.c	2014-05-09 20:31:16.414789550 +0200
***************
*** 1551,1559 ****
  {
      char_u	*buf;
      long_u	len;
-     int		is_fish_shell;
  
  #if (defined(UNIX) && !defined(ARCHIE)) || defined(OS2)
      /* Account for fish's different syntax for subshells */
      is_fish_shell = (fnamecmp(get_isolated_shell_name(), "fish") == 0);
      if (is_fish_shell)
--- 1551,1560 ----
  {
      char_u	*buf;
      long_u	len;
  
  #if (defined(UNIX) && !defined(ARCHIE)) || defined(OS2)
+     int		is_fish_shell;
+ 
      /* Account for fish's different syntax for subshells */
      is_fish_shell = (fnamecmp(get_isolated_shell_name(), "fish") == 0);
      if (is_fish_shell)
*** ../vim-7.4.282/src/version.c	2014-05-08 11:46:23.621757543 +0200
--- src/version.c	2014-05-09 20:32:06.538789989 +0200
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     283,
  /**/

-- 
Don't drink and drive.  You might hit a bump and spill your beer.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///