changeset 25587:35562f3207d1 v8.2.3330

patch 8.2.3330: Coverity reports using uninitialized field Commit: https://github.com/vim/vim/commit/7deb4115ef72c0468cd6f9cc5f036d5c405641d4 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 11 17:01:45 2021 +0200 patch 8.2.3330: Coverity reports using uninitialized field Problem: Coverity reports using uninitialized field. Solution: Initialize the field early.
author Bram Moolenaar <Bram@vim.org>
date Wed, 11 Aug 2021 17:15:04 +0200
parents 095dc4ace359
children 807673e369d6
files src/tag.c src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
 
     /*
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3330,
+/**/
     3329,
 /**/
     3328,