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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user