mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
fix(PVS/V1019): compound assignment expression is used inside condition
This commit is contained in:
@@ -3893,7 +3893,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 = utfc_ptr2len(p);
|
||||
msg_outtrans_len(p, clen);
|
||||
p += clen - 1;
|
||||
|
Reference in New Issue
Block a user