mirror of
https://github.com/neovim/neovim.git
synced 2025-10-11 12:26:37 +00:00
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
This commit is contained in:
@@ -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.
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user