changeset 8360:45740f83b3ce v7.4.1472

commit https://github.com/vim/vim/commit/4ca812b15378f83e56a2dc42947a61d0aa40697f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 2 21:51:16 2016 +0100 patch 7.4.1472 Problem: Coverity warning for not using return value. Solution: Add "(void)".
author Christian Brabandt <cb@256bit.org>
date Wed, 02 Mar 2016 22:00:07 +0100
parents 304c1f78b943
children a446cc226a4d
files src/os_unix.c src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -744,6 +744,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1472,
+/**/
     1471,
 /**/
     1470,