mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
vim-patch:7.4.1780 (#5828)
Problem: Warnings reported by cppcheck.
Solution: Fix the warnings. (Dominique Pelle)
dc633cf827
This commit is contained in:

committed by
Justin M. Keyes

parent
c1d1493eb2
commit
18cb09e095
@@ -4607,7 +4607,7 @@ int do_addsub(int op_type, pos_T *pos, int length, linenr_T Prenum1)
|
||||
goto theend;
|
||||
}
|
||||
ptr = buf1;
|
||||
if (negative && (!visual || (visual && was_positive))) {
|
||||
if (negative && (!visual || was_positive)) {
|
||||
*ptr++ = '-';
|
||||
}
|
||||
if (pre) {
|
||||
|
Reference in New Issue
Block a user