Mercurial > vim
comparison src/version.c @ 14495:178162aeebeb v8.1.0261
patch 8.1.0261: Coverity complains about a negative array index
commit https://github.com/vim/vim/commit/38efd1d17a6e6aa2add71efdf2cde4a788e5f5e5
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 9 21:52:24 2018 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 09 Aug 2018 22:00:06 +0200 |
parents | 85c085bae335 |
children | a7b2dc5f1306 |
comparison
equal
deleted
inserted
replaced
14494:6bc01ddb6932 | 14495:178162aeebeb |
---|---|
792 NULL | 792 NULL |
793 }; | 793 }; |
794 | 794 |
795 static int included_patches[] = | 795 static int included_patches[] = |
796 { /* Add new patch number below this line */ | 796 { /* Add new patch number below this line */ |
797 /**/ | |
798 261, | |
797 /**/ | 799 /**/ |
798 260, | 800 260, |
799 /**/ | 801 /**/ |
800 259, | 802 259, |
801 /**/ | 803 /**/ |