Mercurial > vim
comparison src/version.c @ 12367:7ae2b2c84ec5 v8.0.1063
patch 8.0.1063: Coverity warns for NULL check and array use
commit https://github.com/vim/vim/commit/28550b74bb4373417eb6fbf132bd4211b7b92afa
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 5 23:31:01 2017 +0200
patch 8.0.1063: Coverity warns for NULL check and array use
Problem: Coverity warns for NULL check and using variable pointer as an
array.
Solution: Remove the NULL check. Make "argvar" an array.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 05 Sep 2017 23:45:04 +0200 |
parents | db99bd23c87f |
children | d7f087d1b0e5 |
comparison
equal
deleted
inserted
replaced
12366:1e2c608b8049 | 12367:7ae2b2c84ec5 |
---|---|
767 NULL | 767 NULL |
768 }; | 768 }; |
769 | 769 |
770 static int included_patches[] = | 770 static int included_patches[] = |
771 { /* Add new patch number below this line */ | 771 { /* Add new patch number below this line */ |
772 /**/ | |
773 1063, | |
772 /**/ | 774 /**/ |
773 1062, | 775 1062, |
774 /**/ | 776 /**/ |
775 1061, | 777 1061, |
776 /**/ | 778 /**/ |