aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-05-20 04:08:41 +0300
committerZyX <kp-pav@yandex.ru>2017-05-20 04:21:00 +0300
commit40444e9186a7d3666930de4abfb4662e603d1f06 (patch)
tree9463ca81e74c32891e9ca7484c03b2071b29f905 /src/nvim/api/vim.c
parent9ec2bf26ce727f7bd114905f106f2d62762e3d93 (diff)
downloadrneovim-40444e9186a7d3666930de4abfb4662e603d1f06.tar.gz
rneovim-40444e9186a7d3666930de4abfb4662e603d1f06.tar.bz2
rneovim-40444e9186a7d3666930de4abfb4662e603d1f06.zip
main: Silence V522: potential NULL pointer dereference
AFAIK there is no way NULL can be there, including from the line it points to. Dunno what analyser was thinking, but dereferencing of `argv[0]` happened just before `get_number_arg()` call: in `ascii_isdigit()` two lines above. And `idx` cannot possibly be NULL ever, it comes from `&varname`, this could not ever give anything, but a valid pointer.
Diffstat (limited to 'src/nvim/api/vim.c')
0 files changed, 0 insertions, 0 deletions