From 7deb4115ef72c0468cd6f9cc5f036d5c405641d4 Mon Sep 17 00:00:00 2001
From: Bram Moolenaar <Bram@vim.org>
Date: Wed, 11 Aug 2021 17:01:45 +0200
Subject: [PATCH] patch 8.2.3330: Coverity reports using uninitialized field

Problem:    Coverity reports using uninitialized field.
Solution:   Initialize the field early.
---
 src/tag.c     | 1 +
 src/version.c | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/src/tag.c b/src/tag.c
index 4e96e0d430..d729c4621a 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -1680,6 +1680,7 @@ find_tags(
 
     help_save = curbuf->b_help;
     orgpat.pat = pat;
+    orgpat.regmatch.regprog = NULL;
     vimconv.vc_type = CONV_NONE;
 
     /*
diff --git a/src/version.c b/src/version.c
index b8e17af800..2b8b508107 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3330,
 /**/
     3329,
 /**/
-- 
GitLab