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/linematch.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/linematch.c')
-rw-r--r-- | src/nvim/linematch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/linematch.c b/src/nvim/linematch.c index 9897c92ac5..f8b286fcd8 100644 --- a/src/nvim/linematch.c +++ b/src/nvim/linematch.c @@ -1,3 +1,6 @@ +// This is an open source non-commercial project. Dear PVS-Studio, please check +// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com + #include <assert.h> #include <stdbool.h> #include <stddef.h> |