mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 23:48:32 +00:00
build: remove PVS
We already have an extensive suite of static analysis tools we use, which causes a fair bit of redundancy as we get duplicate warnings. PVS is also prone to give false warnings which creates a lot of work to identify and disable.
This commit is contained in:
@@ -38,8 +38,6 @@ struct rbuffer;
|
||||
//
|
||||
// Note that the rbuffer_{produced,consumed} calls are necessary or these macros
|
||||
// create infinite loops
|
||||
//
|
||||
// -V:RBUFFER_UNTIL_EMPTY:1044
|
||||
#define RBUFFER_UNTIL_EMPTY(buf, rptr, rcnt) \
|
||||
for (size_t rcnt = 0, _r = 1; _r; _r = 0) /* NOLINT(readability/braces) */ \
|
||||
for (char *rptr = rbuffer_read_ptr(buf, &rcnt); /* NOLINT(readability/braces) */ \
|
||||
|
Reference in New Issue
Block a user