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:
KunMing Xie 2018-06-23 18:45:10 +08:00 committed by Justin M. Keyes
parent 7f7802e643
commit ddde747644

View File

@ -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;