diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-16 12:26:20 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-18 21:57:48 +0100 |
commit | 5955f44adea310b735aae307407a807d7acd74c0 (patch) | |
tree | ed702409eebac13751f03a7fbe9e270553540349 /src/nvim/api/vim.c | |
parent | c802869e99f8a56ba2eceea2f62d29c0cc673210 (diff) | |
download | rneovim-5955f44adea310b735aae307407a807d7acd74c0.tar.gz rneovim-5955f44adea310b735aae307407a807d7acd74c0.tar.bz2 rneovim-5955f44adea310b735aae307407a807d7acd74c0.zip |
Fix warnings: window.c: winframe_remove(): Np dereference: FP.
Problem : Dereference of null pointer @ 2196.
Diagnostic : False positive.
Rationale : Suggested error path implies `frp->child == NULL` while
being under condition `frp2->fr_layout == frp->fr_layout`,
which is impossible:
- If frp2 is frp's parent, then frp2's layout is FR_COL or
FR_ROW;
- if frp->child is NULL, the frp's layout is FR_LEAF.
- Therefore, they can't be equal.
Resolution : Assert frp->child not null.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions