diff options
| author | Dundar Göc <gocdundar@gmail.com> | 2022-03-21 18:38:19 +0100 | 
|---|---|---|
| committer | Dundar Göc <gocdundar@gmail.com> | 2022-03-24 17:57:36 +0100 | 
| commit | 93e0d9b5560b6c37973c93785693e8e9a8a30567 (patch) | |
| tree | 6bb920824ede9da830e8ac912908d98e71af442d /src/nvim/ops.c | |
| parent | 0c02e8a62b1570be15db01d45969d2759a7f37bf (diff) | |
| download | rneovim-93e0d9b5560b6c37973c93785693e8e9a8a30567.tar.gz rneovim-93e0d9b5560b6c37973c93785693e8e9a8a30567.tar.bz2 rneovim-93e0d9b5560b6c37973c93785693e8e9a8a30567.zip  | |
fix(PVS/V1019): compound assignment expression is used inside condition
Diffstat (limited to 'src/nvim/ops.c')
| -rw-r--r-- | src/nvim/ops.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index fc66fb5f06..4404ee7b80 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -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;  | 
