0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

patch 8.1.0261: Coverity complains about a negative array index

Problem:    Coverity complains about a negative array index.
Solution:   When qf_id2nr() cannot find the list then don't set qf_curlist.
This commit is contained in:
Bram Moolenaar
2018-08-09 21:52:24 +02:00
parent 4d37557ac6
commit 38efd1d17a
2 changed files with 26 additions and 19 deletions

View File

@@ -794,6 +794,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
261,
/**/
260,
/**/