Mercurial > vim
comparison src/version.c @ 17785:3f0fd418ac1d v8.1.1889
patch 8.1.1889: Coverity warns for using a NULL pointer
commit https://github.com/vim/vim/commit/ea7ecfe2a08877f98edec9b9c26b9e1b3673f00b
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 19 20:08:15 2019 +0200
patch 8.1.1889: Coverity warns for using a NULL pointer
Problem: Coverity warns for using a NULL pointer.
Solution: Use zero for column if pos is NULL.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 19 Aug 2019 20:15:04 +0200 |
parents | 45eca7143d7c |
children | 92e0996e1cb8 |
comparison
equal
deleted
inserted
replaced
17784:0a3a42786ec8 | 17785:3f0fd418ac1d |
---|---|
763 NULL | 763 NULL |
764 }; | 764 }; |
765 | 765 |
766 static int included_patches[] = | 766 static int included_patches[] = |
767 { /* Add new patch number below this line */ | 767 { /* Add new patch number below this line */ |
768 /**/ | |
769 1889, | |
768 /**/ | 770 /**/ |
769 1888, | 771 1888, |
770 /**/ | 772 /**/ |
771 1887, | 773 1887, |
772 /**/ | 774 /**/ |