From 22a681a2d522e42c5c2da8b15d7482d017eb07f0 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 10 Dec 2014 01:57:05 -0500 Subject: 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 --- src/nvim/os_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/os_unix.c') 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); /* -- cgit