aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorEliseo Martínez <eliseomarmol@gmail.com>2014-11-17 10:41:05 +0100
committerEliseo Martínez <eliseomarmol@gmail.com>2014-11-18 22:00:02 +0100
commit97be8d45f4e52aa33d37a831c26e24235ec55220 (patch)
treebe107a84bcaf17c04435e4821cf8a9da9b264914 /src/nvim/api/vim.c
parent3bf32fe43f86a2c966c77b130f7ea7c71b6ac099 (diff)
downloadrneovim-97be8d45f4e52aa33d37a831c26e24235ec55220.tar.gz
rneovim-97be8d45f4e52aa33d37a831c26e24235ec55220.tar.bz2
rneovim-97be8d45f4e52aa33d37a831c26e24235ec55220.zip
Fix warnings: eval.c: add_nr_var(): Out of bounds: FP.
Problem : Out-of-bound array access @ 18737. Diagnostic : False positive. Rationale : Situation is intentional. `dictitem_T` is a prefix all dict items whill share, but actual size of each item will be different depending on its key length. `di_key` array field is declared of size 1 just to have a field name, but real size will vary for each item. Resolution : Make analyzer ignore it. This could be refactored to use C99-allowed variable length arrays, but eval.c is bound to dissappear, so no effort is done in that sense.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions