mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
encode: Add a hint for static analyzer that cur_tv is not NULL
This commit is contained in:
@@ -608,6 +608,7 @@ scope int encode_vim_to_##name(firstargtype firstargname, typval_T *const tv, \
|
||||
break; \
|
||||
} \
|
||||
} \
|
||||
assert(cur_tv != NULL); \
|
||||
if (name##_convert_one_value(firstargname, &mpstack, cur_tv, copyID, \
|
||||
objname) == FAIL) { \
|
||||
goto encode_vim_to_##name##_error_ret; \
|
||||
|
Reference in New Issue
Block a user