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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc926dd0dd0ef72fe7993f134f2cc1551cd269ea;p=vim 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 79cca795f..1680d0dd1 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 2f9012745..c1260ec87 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, /**/