summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-24 15:19:04 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-24 15:19:04 +0200
commit1c17ffa4611f4efe68c61f7cdd9ed692a866ba75 (patch)
tree009f678c60ced89e9f9185f848fb03fcd06d0b25 /src/ex_cmds2.c
parenta2aa8a2b22de909619d7faa3ff5383a6224defc5 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index b11bff43c7..3e369a8a4f 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