Mercurial > vim
changeset 5881:aa99d04fa7e2 v7.4.283
updated for version 7.4.283
Problem: Compiler warning about unused variable. (Charles Cooper)
Solution: Move the variable inside the #if block.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 09 May 2014 20:33:04 +0200 |
parents | 140bff8f01bd |
children | f051f3af15d8 |
files | src/ex_cmds.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)