forked from aniani/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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user