1
0
forked from aniani/vim

patch 7.4.1780

Problem:    Warnings reported by cppcheck.
Solution:   Fix the warnings. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2016-04-23 14:33:19 +02:00
parent 73dfe917ba
commit dc633cf827
6 changed files with 16 additions and 12 deletions

View File

@@ -5709,7 +5709,7 @@ do_addsub(
if (buf1 == NULL)
goto theend;
ptr = buf1;
if (negative && (!visual || (visual && was_positive)))
if (negative && (!visual || was_positive))
{
*ptr++ = '-';
}