patch 9.0.2185: Coverity complains about not checking return value
Problem: Coverity complains about not checking return value
in compare_isn_not_values (after 9.0.2184)
Solution: cast return value to "(void)" to make intention clear
closes: #13751
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/vim9instr.c b/src/vim9instr.c
index 5059eb0..a2179f3 100644
--- a/src/vim9instr.c
+++ b/src/vim9instr.c
@@ -418,9 +418,9 @@
compare_isn_not_values(typval_T *tv, type_T *type)
{
if (tv != NULL)
- check_typval_is_value(tv);
+ (void)check_typval_is_value(tv);
else
- check_type_is_value(type);
+ (void)check_type_is_value(type);
return ISN_DROP;
}