mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
refactor: suppress PVS false positives (#20264)
Some V512 warnings have changed to V1086, and PVS apparently does not know `uv_run()` can change `*timeout_expired`.
This commit is contained in:
@@ -570,7 +570,7 @@ static bool ml_check_b0_strings(ZERO_BL *b0p)
|
||||
return (memchr(b0p->b0_version, NUL, 10)
|
||||
&& memchr(b0p->b0_uname, NUL, B0_UNAME_SIZE)
|
||||
&& memchr(b0p->b0_hname, NUL, B0_HNAME_SIZE)
|
||||
&& memchr(b0p->b0_fname, NUL, B0_FNAME_SIZE_CRYPT)); // -V512
|
||||
&& memchr(b0p->b0_fname, NUL, B0_FNAME_SIZE_CRYPT)); // -V1086
|
||||
}
|
||||
|
||||
/// Update the timestamp or the B0_SAME_DIR flag of the .swp file.
|
||||
|
Reference in New Issue
Block a user