mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
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:
@@ -687,6 +687,8 @@ func Test_expr7_fails()
|
||||
|
||||
call CheckDefFailure("let x = @", "E1002:")
|
||||
call CheckDefFailure("let x = @<", "E354:")
|
||||
|
||||
call CheckDefFailure("let x = ¬exist", "E113:")
|
||||
endfunc
|
||||
|
||||
let g:Funcrefs = [function('add')]
|
||||
|
Reference in New Issue
Block a user