summaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-21 21:45:34 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-21 21:45:34 +0100
commit2c519cf3bfe76083767ac94c674d2e161ed36587 (patch)
tree6386fbe43e4c710c1a31fe28ea3989cfe35e96a8 /src/os_unix.c
parentf7e47af7760fe054cb645dac9a1e96b23c85804d (diff)
downloadvim-git-2c519cf3bfe76083767ac94c674d2e161ed36587.tar.gz
patch 8.1.1032: warnings from clang static analyzerv8.1.1032
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan) Solution: Fix relevant warnings.
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 47b27cf0e..0d9f69e53 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -6147,9 +6147,9 @@ RealWaitForChar(int fd, long msec, int *check_for_gpm UNUSED, int *interrupted)
}
# endif
#ifdef FEAT_JOB_CHANNEL
- /* also call when ret == 0, we may be polling a keep-open channel */
+ // also call when ret == 0, we may be polling a keep-open channel
if (ret >= 0)
- ret = channel_poll_check(ret, &fds);
+ channel_poll_check(ret, &fds);
#endif
#else /* HAVE_SELECT */