Skip to content

Commit 7deb411

Browse files
committed
patch 8.2.3330: Coverity reports using uninitialized field
Problem: Coverity reports using uninitialized field. Solution: Initialize the field early.
1 parent 16e63e6 commit 7deb411

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/tag.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1680,6 +1680,7 @@ find_tags(
16801680

16811681
help_save = curbuf->b_help;
16821682
orgpat.pat = pat;
1683+
orgpat.regmatch.regprog = NULL;
16831684
vimconv.vc_type = CONV_NONE;
16841685

16851686
/*

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,8 @@ static char *(features[]) =
755755

756756
static int included_patches[] =
757757
{ /* Add new patch number below this line */
758+
/**/
759+
3330,
758760
/**/
759761
3329,
760762
/**/

0 commit comments

Comments
 (0)