diff options
author | Paul Rigge <rigge@berkeley.edu> | 2017-12-30 22:17:31 -0800 |
---|---|---|
committer | Paul Rigge <rigge@berkeley.edu> | 2018-01-02 17:22:33 -0800 |
commit | dea7a41138674b45e8cfd5c1d713d4048987c830 (patch) | |
tree | dae54f2601e0bf41a0d01f531f7334a60393bea9 /runtime/lua/man.lua | |
parent | d63c3d9d105b7d81ad397e784b33d3dec7073338 (diff) | |
download | rneovim-dea7a41138674b45e8cfd5c1d713d4048987c830.tar.gz rneovim-dea7a41138674b45e8cfd5c1d713d4048987c830.tar.bz2 rneovim-dea7a41138674b45e8cfd5c1d713d4048987c830.zip |
Add another const to tv_copy
Clang static analyzer had trouble with filter_map in eval.c because
tv_copy could, in principle, change the v_type of argvars[0]. It
saw a potential null pointer going somewhere it shouldn't as a result.
The from argument in tv_copy should be const, which also cleans up the
static analyzer's complaint.
Diffstat (limited to 'runtime/lua/man.lua')
0 files changed, 0 insertions, 0 deletions