mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +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; \
|
break; \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
|
assert(cur_tv != NULL); \
|
||||||
if (name##_convert_one_value(firstargname, &mpstack, cur_tv, copyID, \
|
if (name##_convert_one_value(firstargname, &mpstack, cur_tv, copyID, \
|
||||||
objname) == FAIL) { \
|
objname) == FAIL) { \
|
||||||
goto encode_vim_to_##name##_error_ret; \
|
goto encode_vim_to_##name##_error_ret; \
|
||||||
|
Reference in New Issue
Block a user