aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/regex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/regex.c b/src/regex.c
index 5bd4cf654d7..e8b588207da 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -4784,6 +4784,7 @@ regcomp (preg, pattern, cflags)
4784 /* regex_compile will allocate the space for the compiled pattern. */ 4784 /* regex_compile will allocate the space for the compiled pattern. */
4785 preg->buffer = 0; 4785 preg->buffer = 0;
4786 preg->allocated = 0; 4786 preg->allocated = 0;
4787 preg->used = 0;
4787 4788
4788 /* Don't bother to use a fastmap when searching. This simplifies the 4789 /* Don't bother to use a fastmap when searching. This simplifies the
4789 REG_NEWLINE case: if we used a fastmap, we'd have to put all the 4790 REG_NEWLINE case: if we used a fastmap, we'd have to put all the