changeset 12178:a1014f647b61 v8.0.0969

patch 8.0.0969: Coverity warning for unused return value commit https://github.com/vim/vim/commit/dc926dd0dd0ef72fe7993f134f2cc1551cd269ea Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 19 21:26:44 2017 +0200 patch 8.0.0969: Coverity warning for unused return value Problem: Coverity warning for unused return value. Solution: Add (void) to avoid the warning.
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Aug 2017 21:30:04 +0200
parents a740357289a5
children a6578fa88dc3
files src/channel.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/channel.c
+++ b/src/channel.c
@@ -3559,7 +3559,7 @@ channel_set_nonblock(channel_T *channel,
 
 	ioctlsocket(fd, FIONBIO, &val);
 #else
-	fcntl(fd, F_SETFL, O_NONBLOCK);
+	(void)fcntl(fd, F_SETFL, O_NONBLOCK);
 #endif
 	ch_part->ch_nonblocking = TRUE;
     }
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    969,
+/**/
     968,
 /**/
     967,