mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
vim-patch:8.0.0544: cppcheck warnings (#8627)
Problem: Cppcheck warnings.
Solution: Use temp variable. Change NUL to NULL. Swap conditions. (Dominique
Pelle)
866c688610
This commit is contained in:
parent
7f7802e643
commit
ddde747644
@ -1580,7 +1580,7 @@ static void conv_to_pvim(void)
|
||||
ptr[i] = toF_leading(ptr[i]);
|
||||
i++;
|
||||
|
||||
while (canF_Rjoin(ptr[i]) && i < llen) {
|
||||
while (i < llen && canF_Rjoin(ptr[i])) {
|
||||
ptr[i] = toF_Rjoin(ptr[i]);
|
||||
if (F_isterm(ptr[i]) || !F_isalpha(ptr[i])) {
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user