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
This commit is contained in:
Justin M. Keyes
2014-12-10 01:57:05 -05:00
parent 3a61b84543
commit 22a681a2d5
4 changed files with 29 additions and 37 deletions

View File

@@ -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;