commit | dc633cf82758f67f656cda7fa8ccc30414ee53f8 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Apr 23 14:33:19 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Apr 23 14:33:19 2016 +0200 |
tree | e8a018a83d53136a6891b4ee4d37a8eb4183ce53 | |
parent | 73dfe917ba6357413aaf98a021c91add5ac6e9bc [diff] [blame] |
patch 7.4.1780 Problem: Warnings reported by cppcheck. Solution: Fix the warnings. (Dominique Pelle)
diff --git a/src/ops.c b/src/ops.c index 0584877..983d9d0 100644 --- a/src/ops.c +++ b/src/ops.c
@@ -5709,7 +5709,7 @@ if (buf1 == NULL) goto theend; ptr = buf1; - if (negative && (!visual || (visual && was_positive))) + if (negative && (!visual || was_positive)) { *ptr++ = '-'; }