From b24c377c8ab3613c012076703fe72b7e8610f4ee Mon Sep 17 00:00:00 2001 From: Sean Dewar Date: Fri, 13 Aug 2021 17:08:39 +0100 Subject: [PATCH] vim-patch:8.2.3330: Coverity reports using uninitialized field Problem: Coverity reports using uninitialized field. Solution: Initialize the field early. https://github.com/vim/vim/commit/7deb4115ef72c0468cd6f9cc5f036d5c405641d4 --- src/nvim/tag.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nvim/tag.c b/src/nvim/tag.c index 61d48eb4bf..c63cdad098 100644 --- a/src/nvim/tag.c +++ b/src/nvim/tag.c @@ -1467,6 +1467,7 @@ find_tags( help_save = curbuf->b_help; orgpat.pat = pat; + orgpat.regmatch.regprog = NULL; vimconv.vc_type = CONV_NONE; /*