Skip to content

Commit dc926dd

Browse files
committed
patch 8.0.0969: Coverity warning for unused return value
Problem: Coverity warning for unused return value. Solution: Add (void) to avoid the warning.
1 parent 77ac9b5 commit dc926dd

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/channel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3559,7 +3559,7 @@ channel_set_nonblock(channel_T *channel, ch_part_T part)
35593559

35603560
ioctlsocket(fd, FIONBIO, &val);
35613561
#else
3562-
fcntl(fd, F_SETFL, O_NONBLOCK);
3562+
(void)fcntl(fd, F_SETFL, O_NONBLOCK);
35633563
#endif
35643564
ch_part->ch_nonblocking = TRUE;
35653565
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
969,
772774
/**/
773775
968,
774776
/**/

0 commit comments

Comments
 (0)