mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 7.4.1472
Problem: Coverity warning for not using return value. Solution: Add "(void)".
This commit is contained in:
@@ -5235,9 +5235,9 @@ mch_clear_job(job_T *job)
|
||||
{
|
||||
/* call waitpid because child process may become zombie */
|
||||
# ifdef __NeXT__
|
||||
wait4(job->jv_pid, NULL, WNOHANG, (struct rusage *)0);
|
||||
(void)wait4(job->jv_pid, NULL, WNOHANG, (struct rusage *)0);
|
||||
# else
|
||||
waitpid(job->jv_pid, NULL, WNOHANG);
|
||||
(void)waitpid(job->jv_pid, NULL, WNOHANG);
|
||||
# endif
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user