summaryrefslogtreecommitdiff
path: root/src/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel.c')
-rw-r--r--src/channel.c2
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;
}