From: Bram Moolenaar Date: Sat, 19 Aug 2017 19:26:44 +0000 (+0200) Subject: patch 8.0.0969: Coverity warning for unused return value X-Git-Tag: v8.0.0969 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc926dd0dd0ef72fe7993f134f2cc1551cd269ea;p=thirdparty%2Fvim.git patch 8.0.0969: Coverity warning for unused return value Problem: Coverity warning for unused return value. Solution: Add (void) to avoid the warning. --- 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, /**/