diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-11-22 01:07:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 08:07:45 +0800 |
commit | 0cbc23d3cc327109176c0a9c0f8a48fc5196a6cd (patch) | |
tree | f5655de92dbced3a0ebfbec2a014dde193f9b614 /src/nvim/msgpack_rpc/unpacker.c | |
parent | edd0de9821ba916e52fed37967d557c82c9fc0e6 (diff) | |
download | rneovim-0cbc23d3cc327109176c0a9c0f8a48fc5196a6cd.tar.gz rneovim-0cbc23d3cc327109176c0a9c0f8a48fc5196a6cd.tar.bz2 rneovim-0cbc23d3cc327109176c0a9c0f8a48fc5196a6cd.zip |
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
Diffstat (limited to 'src/nvim/msgpack_rpc/unpacker.c')
-rw-r--r-- | src/nvim/msgpack_rpc/unpacker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/msgpack_rpc/unpacker.c b/src/nvim/msgpack_rpc/unpacker.c index e5583cf91b..c082bba660 100644 --- a/src/nvim/msgpack_rpc/unpacker.c +++ b/src/nvim/msgpack_rpc/unpacker.c @@ -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) { \ |