forked from aniani/vim
patch 9.1.1273: Coverity warns about using uninitialized value
Problem: Coverity warns about using uninitialized value (after 9.1.1270). Solution: Put an empty string in "buf" when allocation fails (zeertzjq). closes: #17040 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
3e50a28a03
commit
f16d8b2dda
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1273,
|
||||
/**/
|
||||
1272,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user