forked from aniani/vim
patch 7.4.1472
Problem: Coverity warning for not using return value. Solution: Add "(void)".
This commit is contained in:
parent
bf73b91c66
commit
4ca812b153
@ -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
|
||||
|
@ -743,6 +743,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1472,
|
||||
/**/
|
||||
1471,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user