Skip to content

Commit 4ca812b

Browse files
committed
patch 7.4.1472
Problem: Coverity warning for not using return value. Solution: Add "(void)".
1 parent bf73b91 commit 4ca812b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/os_unix.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5235,9 +5235,9 @@ mch_clear_job(job_T *job)
52355235
{
52365236
/* call waitpid because child process may become zombie */
52375237
# ifdef __NeXT__
5238-
wait4(job->jv_pid, NULL, WNOHANG, (struct rusage *)0);
5238+
(void)wait4(job->jv_pid, NULL, WNOHANG, (struct rusage *)0);
52395239
# else
5240-
waitpid(job->jv_pid, NULL, WNOHANG);
5240+
(void)waitpid(job->jv_pid, NULL, WNOHANG);
52415241
# endif
52425242
}
52435243
#endif

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ static char *(features[]) =
743743

744744
static int included_patches[] =
745745
{ /* Add new patch number below this line */
746+
/**/
747+
1472,
746748
/**/
747749
1471,
748750
/**/

0 commit comments

Comments
 (0)