Mercurial > vim
comparison src/version.c @ 17502:bc6088919610 v8.1.1749
patch 8.1.1749: Coverity warns for using negative index
commit https://github.com/vim/vim/commit/736cd2cfbe83b85259eecc7d70e68297ce968d33
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 25 21:58:19 2019 +0200
patch 8.1.1749: Coverity warns for using negative index
Problem: Coverity warns for using negative index.
Solution: Move using index inside "if".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 25 Jul 2019 22:00:05 +0200 |
parents | b7d85c5af64e |
children | 5d63aa71efe1 |
comparison
equal
deleted
inserted
replaced
17501:ee0183fdf5f8 | 17502:bc6088919610 |
---|---|
775 NULL | 775 NULL |
776 }; | 776 }; |
777 | 777 |
778 static int included_patches[] = | 778 static int included_patches[] = |
779 { /* Add new patch number below this line */ | 779 { /* Add new patch number below this line */ |
780 /**/ | |
781 1749, | |
780 /**/ | 782 /**/ |
781 1748, | 783 1748, |
782 /**/ | 784 /**/ |
783 1747, | 785 1747, |
784 /**/ | 786 /**/ |