# HG changeset patch # User Bram Moolenaar # Date 1369928964 -7200 # Node ID 9f502d8d5165a79b361ad6048e84c278e1397f88 # Parent 4db8db5195d798c9fa7a898e30590c79576968b8 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 --- 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 --- 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,