diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-24 15:19:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-24 15:19:04 +0200 |
commit | 1c17ffa4611f4efe68c61f7cdd9ed692a866ba75 (patch) | |
tree | 009f678c60ced89e9f9185f848fb03fcd06d0b25 /src/ex_cmds2.c | |
parent | a2aa8a2b22de909619d7faa3ff5383a6224defc5 (diff) | |
download | vim-git-1c17ffa4611f4efe68c61f7cdd9ed692a866ba75.tar.gz |
patch 8.0.1753: various warnings from a static analyserv8.0.1753
Problem: Various warnings from a static analyser
Solution: Add type casts, remove unneeded conditions. (Christian Brabandt,
closes #2770)
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index b11bff43c..3e369a8a4 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -1420,7 +1420,7 @@ check_due_timer(void) if (balloonEval != NULL) general_beval_cb(balloonEval, 0); } - else if (this_due > 0 && (next_due == -1 || next_due > this_due)) + else if (next_due == -1 || next_due > this_due) next_due = this_due; } #endif |