aboutsummaryrefslogtreecommitdiff
path: root/src/regexp_nfa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp_nfa.c')
-rw-r--r--src/regexp_nfa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index 902d46f825..3e4b74d2d2 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -524,7 +524,6 @@ static char_u *nfa_get_match_text(nfa_state_T *start)
ret = alloc(len);
if (ret != NULL) {
- len = 0;
p = start->out->out; /* skip first char, it goes into regstart */
s = ret;
while (p->c > 0) {