diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-16 13:34:57 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-18 21:57:48 +0100 |
commit | f544d976faf23649a5015eb25f3296f715a7a1bc (patch) | |
tree | 23d065fb09d5f698a6faf640f344492d04a20396 /src/nvim/api/vim.c | |
parent | 5955f44adea310b735aae307407a807d7acd74c0 (diff) | |
download | rneovim-f544d976faf23649a5015eb25f3296f715a7a1bc.tar.gz rneovim-f544d976faf23649a5015eb25f3296f715a7a1bc.tar.bz2 rneovim-f544d976faf23649a5015eb25f3296f715a7a1bc.zip |
Fix warnings: window.c: win_drag_vsep_line(): Np dereference: FP.
Problem : Dereference of null pointer @ 4512.
Diagnostic : False positive.
Rationale : Suggested error path implies `fr == NULL` after 4504.
That's not possible, because:
- curfr and curfr->next must be both nonnull, as we are
dragging the divider between the two.
- after conditional, fr is one of those two (the one that
grows).
Resolution : Assert fr.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions