commit | 1c17ffa4611f4efe68c61f7cdd9ed692a866ba75 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Apr 24 15:19:04 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Apr 24 15:19:04 2018 +0200 |
tree | 009f678c60ced89e9f9185f848fb03fcd06d0b25 | |
parent | a2aa8a2b22de909619d7faa3ff5383a6224defc5 [diff] [blame] |
patch 8.0.1753: various warnings from a static analyser Problem: Various warnings from a static analyser Solution: Add type casts, remove unneeded conditions. (Christian Brabandt, closes #2770)
diff --git a/src/os_unix.c b/src/os_unix.c index 5646560..c89131f 100644 --- a/src/os_unix.c +++ b/src/os_unix.c
@@ -441,7 +441,7 @@ /* no character available within "wtime" */ return 0; - if (wtime < 0) + else { /* no character available within 'updatetime' */ did_start_blocking = TRUE;