diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-05-09 20:33:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-05-09 20:33:04 +0200 |
commit | d442ec7fe2f929d098ee2739e3c98c70e3bf45a4 (patch) | |
tree | 2ea0c3853c9b2e86ec23a4e5b0ad5eac50e4213f /src/ex_cmds.c | |
parent | b7547420a4fa576cfc6fb8b620bfc05ba8429f38 (diff) | |
download | vim-git-d442ec7fe2f929d098ee2739e3c98c70e3bf45a4.tar.gz |
updated for version 7.4.283v7.4.283
Problem: Compiler warning about unused variable. (Charles Cooper)
Solution: Move the variable inside the #if block.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 39f6791b6..f52e2abcd 100644 --- 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) |