aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-08-13 17:08:39 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-09-17 02:10:43 +0100
commitb24c377c8ab3613c012076703fe72b7e8610f4ee (patch)
tree91249e790af15bb3aedd077a9fe5864649251b25
parent17f377b6f9e0859191c3aee3abaf2bbe2c03dfe6 (diff)
downloadrneovim-b24c377c8ab3613c012076703fe72b7e8610f4ee.tar.gz
rneovim-b24c377c8ab3613c012076703fe72b7e8610f4ee.tar.bz2
rneovim-b24c377c8ab3613c012076703fe72b7e8610f4ee.zip
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
-rw-r--r--src/nvim/tag.c1
1 files changed, 1 insertions, 0 deletions
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;
/*