From dc926dd0dd0ef72fe7993f134f2cc1551cd269ea Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 19 Aug 2017 21:26:44 +0200 Subject: [PATCH] patch 8.0.0969: Coverity warning for unused return value Problem: Coverity warning for unused return value. Solution: Add (void) to avoid the warning. --- src/channel.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/channel.c b/src/channel.c index 79cca795f3..1680d0dd1e 100644 --- a/src/channel.c +++ b/src/channel.c @@ -3559,7 +3559,7 @@ channel_set_nonblock(channel_T *channel, ch_part_T part) ioctlsocket(fd, FIONBIO, &val); #else - fcntl(fd, F_SETFL, O_NONBLOCK); + (void)fcntl(fd, F_SETFL, O_NONBLOCK); #endif ch_part->ch_nonblocking = TRUE; } diff --git a/src/version.c b/src/version.c index 2f90127451..c1260ec870 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 969, /**/ 968, /**/