mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.1.1481: gcc complains about uninitialized variable
Problem: gcc complains about uninitialized variable (Tony Mechelynck, after v9.1.1476) Solution: initialize variable Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -656,7 +656,7 @@ ex_uniq(exarg_T *eap)
|
|||||||
linenr_T count = eap->line2 - eap->line1 + 1;
|
linenr_T count = eap->line2 - eap->line1 + 1;
|
||||||
char_u *p;
|
char_u *p;
|
||||||
char_u *s;
|
char_u *s;
|
||||||
char_u save_c; // temporary character storage
|
char_u save_c = 0; // temporary character storage
|
||||||
int keep_only_unique = FALSE;
|
int keep_only_unique = FALSE;
|
||||||
int keep_only_not_unique = eap->forceit ? TRUE : FALSE;
|
int keep_only_not_unique = eap->forceit ? TRUE : FALSE;
|
||||||
long deleted = 0;
|
long deleted = 0;
|
||||||
|
@ -709,6 +709,8 @@ 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 */
|
||||||
|
/**/
|
||||||
|
1481,
|
||||||
/**/
|
/**/
|
||||||
1480,
|
1480,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user