0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.4.283

Problem:    Compiler warning about unused variable. (Charles Cooper)
Solution:   Move the variable inside the #if block.
This commit is contained in:
Bram Moolenaar
2014-05-09 20:33:04 +02:00
parent b7547420a4
commit d442ec7fe2
2 changed files with 4 additions and 1 deletions

View File

@@ -1551,9 +1551,10 @@ make_filter_cmd(cmd, itmp, otmp)
{ {
char_u *buf; char_u *buf;
long_u len; long_u len;
int is_fish_shell;
#if (defined(UNIX) && !defined(ARCHIE)) || defined(OS2) #if (defined(UNIX) && !defined(ARCHIE)) || defined(OS2)
int is_fish_shell;
/* Account for fish's different syntax for subshells */ /* Account for fish's different syntax for subshells */
is_fish_shell = (fnamecmp(get_isolated_shell_name(), "fish") == 0); is_fish_shell = (fnamecmp(get_isolated_shell_name(), "fish") == 0);
if (is_fish_shell) if (is_fish_shell)

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
283,
/**/ /**/
282, 282,
/**/ /**/