summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2013-07-04 16:20:40 +1000
committerTony Cook <tony@develop-help.com>2013-07-04 16:20:40 +1000
commit00cccd05a2c303575f37570737c49364e61625b9 (patch)
tree4fe378012df1321baf0b27e9d0343173e46ac8fd /util.c
parent845e7aa3fc0ceb8b5085504e0c19524badc4f8c1 (diff)
downloadperl-00cccd05a2c303575f37570737c49364e61625b9.tar.gz
rarest is only used under -DDEBUGGING
This was warning under gcc 4.7.2
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index 01f441b25e..42c4f6686a 100644
--- a/util.c
+++ b/util.c
@@ -521,9 +521,9 @@ Perl_fbm_compile(pTHX_ SV *sv, U32 flags)
const U8 *s;
STRLEN i;
STRLEN len;
- STRLEN rarest = 0;
U32 frequency = 256;
MAGIC *mg;
+ PERL_DEB( STRLEN rarest = 0 );
PERL_ARGS_ASSERT_FBM_COMPILE;
@@ -591,7 +591,7 @@ Perl_fbm_compile(pTHX_ SV *sv, U32 flags)
s = (const unsigned char*)(SvPVX_const(sv)); /* deeper magic */
for (i = 0; i < len; i++) {
if (PL_freq[s[i]] < frequency) {
- rarest = i;
+ PERL_DEB( rarest = i );
frequency = PL_freq[s[i]];
}
}