1
0
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:
Bram Moolenaar
2017-08-19 21:26:44 +02:00
parent 77ac9b5c62
commit dc926dd0dd
2 changed files with 3 additions and 1 deletions

View File

@@ -3559,7 +3559,7 @@ channel_set_nonblock(channel_T *channel, ch_part_T part)
ioctlsocket(fd, FIONBIO, &val); ioctlsocket(fd, FIONBIO, &val);
#else #else
fcntl(fd, F_SETFL, O_NONBLOCK); (void)fcntl(fd, F_SETFL, O_NONBLOCK);
#endif #endif
ch_part->ch_nonblocking = TRUE; ch_part->ch_nonblocking = TRUE;
} }

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
969,
/**/ /**/
968, 968,
/**/ /**/