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:
@@ -1680,6 +1680,7 @@ find_tags(
|
|||||||
|
|
||||||
help_save = curbuf->b_help;
|
help_save = curbuf->b_help;
|
||||||
orgpat.pat = pat;
|
orgpat.pat = pat;
|
||||||
|
orgpat.regmatch.regprog = NULL;
|
||||||
vimconv.vc_type = CONV_NONE;
|
vimconv.vc_type = CONV_NONE;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -755,6 +755,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3330,
|
||||||
/**/
|
/**/
|
||||||
3329,
|
3329,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user