1
0
forked from aniani/vim

patch 7.4.1472

Problem:    Coverity warning for not using return value.
Solution:   Add "(void)".
This commit is contained in:
Bram Moolenaar 2016-03-02 21:51:16 +01:00
parent bf73b91c66
commit 4ca812b153
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1472,
/**/
1471,
/**/