diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-30 17:49:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-30 17:49:24 +0200 |
commit | 4b6ebe6dce90db34485c161a72faf66038d78358 (patch) | |
tree | 6c2551cc0f36c997618e9f7b5a5c0e68e6aafb77 | |
parent | 428e987b61720a8b23cee6a4c806c0a1c1cdcaac (diff) |
updated for version 7.3.1072v7.3.1072
Problem: Compiler warning for unitialized variable.
Solution: Initialize it.
-rw-r--r-- | src/regexp_nfa.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index dbc2902ada..fd72e9e0b9 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -2873,6 +2873,7 @@ addstate(l, state, sub, off) /* Set the position (with "off") in the subexpression. Save and * restore it when it was in use. Otherwise fill any gap. */ + save_ptr = NULL; if (REG_MULTI) { if (subidx < sub->in_use) diff --git a/src/version.c b/src/version.c index cd82151f06..5a3bb35e6c 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1072, +/**/ 1071, /**/ 1070, |