summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-07-13 14:04:18 +0000
committerSteve Peters <steve@fisharerojo.org>2006-07-13 14:04:18 +0000
commit6148ee2554e208993e4b3b3dea9cb9e0cc61fdf0 (patch)
treeb1279a86fc08b5ab148ba73a8dc432063a3a4763 /regexec.c
parent51370f994fa2a68d90998bb11cbc8cac0e73cad2 (diff)
downloadperl-6148ee2554e208993e4b3b3dea9cb9e0cc61fdf0.tar.gz
Clear up a few more warnings from blead.
p4raw-id: //depot/perl@28565
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/regexec.c b/regexec.c
index edf9bc9898..a13449f9a8 100644
--- a/regexec.c
+++ b/regexec.c
@@ -1346,7 +1346,9 @@ S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s,
reg_trie_data *trie=aho->trie;
const char *last_start = strend - trie->minlen;
+#ifdef DEBUGGING
const char *real_start = s;
+#endif
STRLEN maxlen = trie->maxlen;
SV *sv_points;
U8 **points; /* map of where we were in the input string
@@ -1409,7 +1411,9 @@ S_find_byclass(pTHX_ regexp * prog, const regnode *c, char *s,
uc += len;
do {
+#ifdef DEBUGGING
U32 word = aho->states[ state ].wordnum;
+#endif
base = aho->states[ state ].trans.base;
DEBUG_TRIE_EXECUTE_r(