Skip to content

Commit 97db554

Browse files
committed
patch 8.0.0577: warning for uninitialized variable
Problem: Warning for uninitialized variable. (John Marriott) Solution: Initialize "indent".
1 parent 1d4be82 commit 97db554

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/misc1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9251,7 +9251,7 @@ find_match(int lookfor, linenr_T ourscope)
92519251
int
92529252
get_expr_indent(void)
92539253
{
9254-
int indent;
9254+
int indent = -1;
92559255
char_u *inde_copy;
92569256
pos_T save_pos;
92579257
colnr_T save_curswant;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
577,
767769
/**/
768770
576,
769771
/**/

0 commit comments

Comments
 (0)