diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-02 21:51:16 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-02 21:51:16 +0100 |
commit | 4ca812b15378f83e56a2dc42947a61d0aa40697f (patch) | |
tree | 250a1bd6e3bc7fb4b3bec0356c045269a6c2b07e | |
parent | bf73b91c664488ca57e2b4a8eb9b1f36f6625bc7 (diff) | |
download | vim-git-4ca812b15378f83e56a2dc42947a61d0aa40697f.tar.gz |
patch 7.4.1472v7.4.1472
Problem: Coverity warning for not using return value.
Solution: Add "(void)".
-rw-r--r-- | src/os_unix.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 53d32f709..934399644 100644 --- 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 diff --git a/src/version.c b/src/version.c index 234ff56b5..8ed000bac 100644 --- 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, |