PVS/V1019: "readability" warning #10566

This commit is contained in:
Ihor Antonov 2019-07-22 13:45:59 -04:00 committed by Justin M. Keyes
parent 1e2af5e39d
commit 324dc0dbc0

View File

@ -3439,7 +3439,7 @@ void ex_display(exarg_T *eap)
MSG_PUTS_ATTR("^J", attr); MSG_PUTS_ATTR("^J", attr);
n -= 2; n -= 2;
} }
for (p = yb->y_array[j]; *p && (n -= ptr2cells(p)) >= 0; ++p) { for (p = yb->y_array[j]; *p && (n -= ptr2cells(p)) >= 0; p++) { // -V1019
clen = (*mb_ptr2len)(p); clen = (*mb_ptr2len)(p);
msg_outtrans_len(p, clen); msg_outtrans_len(p, clen);
p += clen - 1; p += clen - 1;