changeset 11384:b200e14e7836 v8.0.0577

patch 8.0.0577: warning for uninitialized variable commit https://github.com/vim/vim/commit/97db5541a65e4614f8753af27996c204946061a9 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 21 23:18:26 2017 +0200 patch 8.0.0577: warning for uninitialized variable Problem: Warning for uninitialized variable. (John Marriott) Solution: Initialize "indent".
author Christian Brabandt <cb@256bit.org>
date Fri, 21 Apr 2017 23:30:04 +0200
parents 7533b4007044
children 47c1375e7c24
files src/misc1.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -9251,7 +9251,7 @@ find_match(int lookfor, linenr_T ourscop
     int
 get_expr_indent(void)
 {
-    int		indent;
+    int		indent = -1;
     char_u	*inde_copy;
     pos_T	save_pos;
     colnr_T	save_curswant;
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    577,
+/**/
     576,
 /**/
     575,