1
0
forked from aniani/vim

patch 8.1.1032: warnings from clang static analyzer

Problem:    Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution:   Fix relevant warnings.
This commit is contained in:
Bram Moolenaar
2019-03-21 21:45:34 +01:00
parent f7e47af776
commit 2c519cf3bf
13 changed files with 20 additions and 29 deletions

View File

@@ -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 */