diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-08-13 17:08:39 +0100 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-09-17 02:10:43 +0100 |
commit | b24c377c8ab3613c012076703fe72b7e8610f4ee (patch) | |
tree | 91249e790af15bb3aedd077a9fe5864649251b25 | |
parent | 17f377b6f9e0859191c3aee3abaf2bbe2c03dfe6 (diff) | |
download | rneovim-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.c | 1 |
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; /* |