0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 9.1.0947: short-description

Problem:  Coverity comlains about un-initialized var
          (after v9.1.0943)
Solution: initialize variable (Yegappan Lakshmanan)

closes: #16256

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Yegappan Lakshmanan 2024-12-19 20:00:31 +01:00 committed by Christian Brabandt
parent cbdc3c1f7a
commit 59c8880ade
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 5 additions and 1 deletions

View File

@ -704,6 +704,10 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
947,
/**/
946,
/**/
945,
/**/

View File

@ -2281,7 +2281,7 @@ compile_lhs(
int oplen,
cctx_T *cctx)
{
char_u *var_end;
char_u *var_end = NULL;
int is_decl = is_decl_command(cmdidx);
if (lhs_init(lhs, var_start, is_decl, heredoc, &var_end) == FAIL)