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:
parent
cbdc3c1f7a
commit
59c8880ade
@ -704,6 +704,10 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
947,
|
||||||
|
/**/
|
||||||
|
946,
|
||||||
/**/
|
/**/
|
||||||
945,
|
945,
|
||||||
/**/
|
/**/
|
||||||
|
@ -2281,7 +2281,7 @@ compile_lhs(
|
|||||||
int oplen,
|
int oplen,
|
||||||
cctx_T *cctx)
|
cctx_T *cctx)
|
||||||
{
|
{
|
||||||
char_u *var_end;
|
char_u *var_end = NULL;
|
||||||
int is_decl = is_decl_command(cmdidx);
|
int is_decl = is_decl_command(cmdidx);
|
||||||
|
|
||||||
if (lhs_init(lhs, var_start, is_decl, heredoc, &var_end) == FAIL)
|
if (lhs_init(lhs, var_start, is_decl, heredoc, &var_end) == FAIL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user