1
0
forked from aniani/vim

patch 8.2.3330: Coverity reports using uninitialized field

Problem:    Coverity reports using uninitialized field.
Solution:   Initialize the field early.
This commit is contained in:
Bram Moolenaar
2021-08-11 17:01:45 +02:00
parent 16e63e6d35
commit 7deb4115ef
2 changed files with 3 additions and 0 deletions

View File

@@ -1680,6 +1680,7 @@ find_tags(
help_save = curbuf->b_help;
orgpat.pat = pat;
orgpat.regmatch.regprog = NULL;
vimconv.vc_type = CONV_NONE;
/*

View File

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