diff options
author | Tony Cook <tony@develop-help.com> | 2013-07-04 16:20:40 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2013-07-04 16:20:40 +1000 |
commit | 00cccd05a2c303575f37570737c49364e61625b9 (patch) | |
tree | 4fe378012df1321baf0b27e9d0343173e46ac8fd /util.c | |
parent | 845e7aa3fc0ceb8b5085504e0c19524badc4f8c1 (diff) | |
download | perl-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]]; } } |