1
0
forked from aniani/vim

patch 8.2.0167: Coverity warning for ignoring return value

Problem:    Coverity warning for ignoring return value.
Solution:   Check the return value and jump if failed.
This commit is contained in:
Bram Moolenaar
2020-01-28 22:46:22 +01:00
parent 07da94b0f0
commit 58ceca5cae
3 changed files with 6 additions and 1 deletions

View File

@@ -687,6 +687,8 @@ func Test_expr7_fails()
call CheckDefFailure("let x = @", "E1002:")
call CheckDefFailure("let x = @<", "E354:")
call CheckDefFailure("let x = &notexist", "E113:")
endfunc
let g:Funcrefs = [function('add')]