diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-19 21:26:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-19 21:26:44 +0200 |
commit | dc926dd0dd0ef72fe7993f134f2cc1551cd269ea (patch) | |
tree | 3f0385ba597b873381e06396602e257c8210ba42 /src | |
parent | 77ac9b5c62b35e90df35fc0bfdee57636cedb144 (diff) |
patch 8.0.0969: Coverity warning for unused return valuev8.0.0969
Problem: Coverity warning for unused return value.
Solution: Add (void) to avoid the warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/channel.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
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 @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 969, +/**/ 968, /**/ 967, |