mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
refactor: fix clang and PVS warnings (#19569)
The last commit didn't actually disable V1028 because of a typo. Fix the typo so it is actually disabled.
This commit is contained in:
@@ -2481,7 +2481,7 @@ size_t find_ident_at_pos(win_T *wp, linenr_T lnum, colnr_T startcol, char_u **te
|
||||
col = 0;
|
||||
// Search for point of changing multibyte character class.
|
||||
this_class = mb_get_class(ptr);
|
||||
while (ptr[col] != NUL
|
||||
while (ptr[col] != NUL // -V781
|
||||
&& ((i == 0
|
||||
? mb_get_class(ptr + col) == this_class
|
||||
: mb_get_class(ptr + col) != 0)
|
||||
|
Reference in New Issue
Block a user