diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-12-10 01:57:05 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-12-20 10:37:11 -0500 |
commit | 22a681a2d522e42c5c2da8b15d7482d017eb07f0 (patch) | |
tree | 2455137f4e81863ffc8b7594b4341af61ecc24f4 /src/nvim/os_unix.c | |
parent | 3a61b84543c7cd843fe60d9ec4b356fb18f6a726 (diff) | |
download | rneovim-22a681a2d522e42c5c2da8b15d7482d017eb07f0.tar.gz rneovim-22a681a2d522e42c5c2da8b15d7482d017eb07f0.tar.bz2 rneovim-22a681a2d522e42c5c2da8b15d7482d017eb07f0.zip |
coverity/74718: invalid FUNC_ATTR_NONNULL_ARG
- avoid null passed to ELOG format string
- receive (char *) internally
- modify identifier names for consistency
- edit comments for concision and consistency
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 a9c1fec0b4..4db84a4f12 100644 --- a/src/nvim/os_unix.c +++ b/src/nvim/os_unix.c @@ -1117,7 +1117,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); /* |