aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc2.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-12-10 01:57:05 -0500
committerJustin M. Keyes <justinkz@gmail.com>2014-12-20 10:37:11 -0500
commit22a681a2d522e42c5c2da8b15d7482d017eb07f0 (patch)
tree2455137f4e81863ffc8b7594b4341af61ecc24f4 /src/nvim/misc2.c
parent3a61b84543c7cd843fe60d9ec4b356fb18f6a726 (diff)
downloadrneovim-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/misc2.c')
-rw-r--r--src/nvim/misc2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/misc2.c b/src/nvim/misc2.c
index bc65056b21..e6531ee1b2 100644
--- a/src/nvim/misc2.c
+++ b/src/nvim/misc2.c
@@ -285,9 +285,7 @@ int default_fileformat(void)
return EOL_UNIX;
}
-/*
- * Call shell. Calls mch_call_shell, with 'shellxquote' added.
- */
+// Call shell. Calls os_call_shell, with 'shellxquote' added.
int call_shell(char_u *cmd, ShellOpts opts, char_u *extra_shell_arg)
{
char_u *ncmd;