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/channel.c | |
parent | 77ac9b5c62b35e90df35fc0bfdee57636cedb144 (diff) | |
download | vim-git-dc926dd0dd0ef72fe7993f134f2cc1551cd269ea.tar.gz |
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/channel.c')
-rw-r--r-- | src/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |