diff options
| author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-05 21:54:30 +0100 | 
|---|---|---|
| committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-06 09:51:58 +0100 | 
| commit | da4c9447a4174dc9c9f15802e8e85cc6e4130f93 (patch) | |
| tree | 85f75a615512f2bfce4c31df085debe73853def2 /runtime/compiler/mipspro_cpp.vim | |
| parent | 0bda79a847112702adc07eea03105da26fdef89f (diff) | |
| download | rneovim-da4c9447a4174dc9c9f15802e8e85cc6e4130f93.tar.gz rneovim-da4c9447a4174dc9c9f15802e8e85cc6e4130f93.tar.bz2 rneovim-da4c9447a4174dc9c9f15802e8e85cc6e4130f93.zip | |
Fix warnings: edit.c: ins_compl_get_exp(): Np dereference (2): FP.
Problems   : Dereference of null pointer @ 3615.
             Dereference of null pointer @ 3764.
Diagnostic : False positives.
Rationale  : `ins_buf` is local static, so maintains value between calls.
             This function will be called first when `compl_started` is
             false, and in that case it initializes `ins_buf`. After
             that, it can be called multiple times with `compl_started`
             true, where `ins_buf` will be updated but not to null.
             So, when arriving to both points, `ins_buf` should never be
             null.
Resolution : Assert `ins_buf` at both points.
Diffstat (limited to 'runtime/compiler/mipspro_cpp.vim')
0 files changed, 0 insertions, 0 deletions
