diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-12-20 14:52:53 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-12-20 14:52:53 -0500 |
commit | 4e28e1aeb6d931aad9b0521fac4b055083ae182b (patch) | |
tree | a2912737be916c4e3f4bce8b4b134b9ae75372df /src/nvim/os_unix.c | |
parent | 5a1cddc47bdb9cf2b4b0d0d449c34ed9d237ea90 (diff) | |
parent | 22a681a2d522e42c5c2da8b15d7482d017eb07f0 (diff) | |
download | rneovim-4e28e1aeb6d931aad9b0521fac4b055083ae182b.tar.gz rneovim-4e28e1aeb6d931aad9b0521fac4b055083ae182b.tar.bz2 rneovim-4e28e1aeb6d931aad9b0521fac4b055083ae182b.zip |
Merge pull request #1685 from justinmk/coverity74718
coverity/74718
Diffstat (limited to 'src/nvim/os_unix.c')
-rw-r--r-- | src/nvim/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c index c8f09f9231..7ec4059bce 100644 --- a/src/nvim/os_unix.c +++ b/src/nvim/os_unix.c @@ -1118,7 +1118,7 @@ int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file, free(command); - if (i != 0) { /* mch_call_shell() failed */ + if (i) { /* os_call_shell() failed */ os_remove((char *)tempname); free(tempname); /* |