mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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]);
|
ptr[i] = toF_leading(ptr[i]);
|
||||||
i++;
|
i++;
|
||||||
|
|
||||||
while (canF_Rjoin(ptr[i]) && i < llen) {
|
while (i < llen && canF_Rjoin(ptr[i])) {
|
||||||
ptr[i] = toF_Rjoin(ptr[i]);
|
ptr[i] = toF_Rjoin(ptr[i]);
|
||||||
if (F_isterm(ptr[i]) || !F_isalpha(ptr[i])) {
|
if (F_isterm(ptr[i]) || !F_isalpha(ptr[i])) {
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user