commit | 4b6ebe6dce90db34485c161a72faf66038d78358 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu May 30 17:49:24 2013 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu May 30 17:49:24 2013 +0200 |
tree | 6c2551cc0f36c997618e9f7b5a5c0e68e6aafb77 | |
parent | 428e987b61720a8b23cee6a4c806c0a1c1cdcaac [diff] [blame] |
updated for version 7.3.1072 Problem: Compiler warning for unitialized variable. Solution: Initialize it.
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index dbc2902..fd72e9e 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c
@@ -2873,6 +2873,7 @@ /* 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)