summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-04-21 23:18:26 +0200
committerBram Moolenaar <Bram@vim.org>2017-04-21 23:18:26 +0200
commit97db5541a65e4614f8753af27996c204946061a9 (patch)
tree5982e4b65145667cb6c051f44fa34da129c6af56 /src/misc1.c
parent1d4be82c7d794e62bcf892310fe2a9b1eb5e2fec (diff)
downloadvim-git-97db5541a65e4614f8753af27996c204946061a9.tar.gz
patch 8.0.0577: warning for uninitialized variablev8.0.0577
Problem: Warning for uninitialized variable. (John Marriott) Solution: Initialize "indent".
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 1a220e1eb..bc927b162 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -9251,7 +9251,7 @@ find_match(int lookfor, linenr_T ourscope)
int
get_expr_indent(void)
{
- int indent;
+ int indent = -1;
char_u *inde_copy;
pos_T save_pos;
colnr_T save_curswant;