mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 09:56:31 +00:00
fix: pvs warnings (#21145)
* fix(PVS/V009): start file with special comment * fix(PVS/V501): identical sub-expressions for comparison * fix(PVS/V560): part of conditional expression is always true/false * fix(PVS/V593): review expression of type A = B < C * fix(PVS/V614): potentially uninitialized variable used
This commit is contained in:
@@ -380,6 +380,7 @@ bool unpacker_parse_redraw(Unpacker *p)
|
||||
size_t size = p->read_size;
|
||||
GridLineEvent *g = p->grid_line_event;
|
||||
|
||||
// -V:NEXT_TYPE:501
|
||||
#define NEXT_TYPE(tok, typ) \
|
||||
result = mpack_rtoken(&data, &size, &tok); \
|
||||
if (result == MPACK_EOF) { \
|
||||
|
Reference in New Issue
Block a user