Permalink
Browse files

patch 8.0.0969: Coverity warning for unused return value

Problem:    Coverity warning for unused return value.
Solution:   Add (void) to avoid the warning.
  • Loading branch information...
brammool committed Aug 19, 2017
1 parent 77ac9b5 commit dc926dd0dd0ef72fe7993f134f2cc1551cd269ea
Showing with 3 additions and 1 deletion.
  1. +1 −1 src/channel.c
  2. +2 −0 src/version.c
View
@@ -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;
}
View
@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
969,
/**/
968,
/**/

0 comments on commit dc926dd

Please sign in to comment.