summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2007-02-20 13:24:38 +0000
committerSteve Peters <steve@fisharerojo.org>2007-02-20 13:24:38 +0000
commit4f55667c12ebe5fc04eddfc4074d7d78730cc30e (patch)
tree3ae7452f5635a8a1e168bbac70e3a01c17ead900 /regexec.c
parentbe8498a1b2824339839d32c9ffcee7899af92562 (diff)
downloadperl-4f55667c12ebe5fc04eddfc4074d7d78730cc30e.tar.gz
Silence a couple of compile warnings.
p4raw-id: //depot/perl@30372
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/regexec.c b/regexec.c
index 8c3365a006..3c3c01ff1a 100644
--- a/regexec.c
+++ b/regexec.c
@@ -5169,6 +5169,9 @@ S_regrepeat(pTHX_ const regexp *prog, const regnode *p, I32 max, int depth)
register char *loceol = PL_regeol;
register I32 hardcount = 0;
register bool do_utf8 = PL_reg_match_utf8;
+#ifndef DEBUGGING
+ PERL_UNUSED_ARG(depth);
+#endif
scan = PL_reginput;
if (max == REG_INFTY)