summaryrefslogtreecommitdiffstats
path: root/generic/regexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/regexec.c')
-rw-r--r--generic/regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regexec.c b/generic/regexec.c
index 9424385..bac019d 100644
--- a/generic/regexec.c
+++ b/generic/regexec.c
@@ -265,7 +265,7 @@ struct colormap *cm;
struct smalldfa sa;
struct dfa *s = newdfa(v, &v->g->search, cm, &sa);
chr *begin;
- chr *end;
+ chr *end = NULL; /* needed to eliminate gcc warning */
chr *cold;
chr *open; /* open and close of range of possible starts */
chr *close;