diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-11-10 17:48:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-10 17:48:45 +0100 |
commit | 3294d654166ec26cac58037a0358b9f7ea75b2d6 (patch) | |
tree | da5ed3b04c19d2fd8544fa4bff316be0f415ffad /src/nvim/terminal.c | |
parent | 430b8da01db738f607998a1a35edab9b0398b12d (diff) | |
download | rneovim-3294d654166ec26cac58037a0358b9f7ea75b2d6.tar.gz rneovim-3294d654166ec26cac58037a0358b9f7ea75b2d6.tar.bz2 rneovim-3294d654166ec26cac58037a0358b9f7ea75b2d6.zip |
PVS fixes
* build(PVS): exclude mpack and klib as they are external dependencies
* build(PVS): suppress warning V601
See https://pvs-studio.com/en/docs/warnings/v601/
* fix(PVS/V009): add top-level message
* fix(PVS/V547): expression 'p != NULL' is always true
* fix(PVS/V547): expression '* termpp == NULL' is always false
Diffstat (limited to 'src/nvim/terminal.c')
-rw-r--r-- | src/nvim/terminal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c index a4ae8d2ae2..465d1d0cbc 100644 --- a/src/nvim/terminal.c +++ b/src/nvim/terminal.c @@ -259,7 +259,7 @@ void terminal_open(Terminal **termpp, buf_T *buf, TerminalOptions opts) aucmd_restbuf(&aco); - if (*termpp == NULL) { + if (*termpp == NULL) { // -V547 return; // Terminal has already been destroyed. } |