mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
PVS/V1019: "readability" warning #10566
This commit is contained in:
parent
1e2af5e39d
commit
324dc0dbc0
@ -3439,7 +3439,7 @@ void ex_display(exarg_T *eap)
|
||||
MSG_PUTS_ATTR("^J", attr);
|
||||
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);
|
||||
msg_outtrans_len(p, clen);
|
||||
p += clen - 1;
|
||||
|
Loading…
Reference in New Issue
Block a user