1
0
forked from aniani/vim

patch 8.1.0886: compiler warning for NULL pointer and condition always true

Problem:    Compiler warning for adding to NULL pointer and a condition that
            is always true.
Solution:   Check for NULL pointer before adding. Remove useless "if".
            (Friedirch, closes #3913)
This commit is contained in:
Bram Moolenaar
2019-02-10 21:48:25 +01:00
parent 18c5632cab
commit b763361161
3 changed files with 14 additions and 15 deletions

View File

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