# HG changeset patch # User Bram Moolenaar # Date 1399660384 -7200 # Node ID aa99d04fa7e288a8580e3a5d4a9d6433a1572b48 # Parent 140bff8f01bdcff621a498bc7deb8d5809d906bf updated for version 7.4.283 Problem: Compiler warning about unused variable. (Charles Cooper) Solution: Move the variable inside the #if block. diff --git a/src/ex_cmds.c b/src/ex_cmds.c --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -1551,9 +1551,10 @@ make_filter_cmd(cmd, itmp, otmp) { char_u *buf; long_u len; - int is_fish_shell; #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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 283, +/**/ 282, /**/ 281,