aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/shell.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-03-24 02:54:50 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-04-12 01:35:49 +0200
commitd6e5f94ae945308d96be414c9c1fb3f0ae71355e (patch)
tree8aaa681a84034915153b40861146c6f27993fa52 /src/nvim/os/shell.c
parent2d72d85b23761383ac7838faed2f7b53bdce8817 (diff)
downloadrneovim-d6e5f94ae945308d96be414c9c1fb3f0ae71355e.tar.gz
rneovim-d6e5f94ae945308d96be414c9c1fb3f0ae71355e.tar.bz2
rneovim-d6e5f94ae945308d96be414c9c1fb3f0ae71355e.zip
win: defaults: 'shellredir', 'shellxquote', 'shellxescape'
Diffstat (limited to 'src/nvim/os/shell.c')
-rw-r--r--src/nvim/os/shell.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c
index b449cc3d5a..5cc9d4b79b 100644
--- a/src/nvim/os/shell.c
+++ b/src/nvim/os/shell.c
@@ -124,11 +124,9 @@ int os_call_shell(char_u *cmd, ShellOpts opts, char_u *extra_args)
}
size_t nread;
-
int exitcode = do_os_system(shell_build_argv((char *)cmd, (char *)extra_args),
input.data, input.len, output_ptr, &nread,
emsg_silent, forward_output);
-
xfree(input.data);
if (output) {