summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2007-09-24 01:20:00 +0000
committerDave Mitchell <davem@fdisolutions.com>2007-09-24 01:20:00 +0000
commit7cf3a6a3b1c2b0edcdd2a882c2d730810d8f9910 (patch)
tree4f53014bca5b05d2371f42ebf8e610b4348c2d33
parent5711aeb8cae9f3935cd6755e745b5ee1ab3aa4b6 (diff)
downloadperl-7cf3a6a3b1c2b0edcdd2a882c2d730810d8f9910.tar.gz
silence a spurious compiler warning in regcomp.c
p4raw-id: //depot/perl@31948
-rw-r--r--regcomp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/regcomp.c b/regcomp.c
index 441d762e6e..f876c54174 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -6831,6 +6831,7 @@ tryagain:
case 0xCE:
if (!LOC && FOLD) {
U32 len,cp;
+ len=0; /* silence a spurious compiler warning */
if ((cp = what_len_TRICKYFOLD_safe(RExC_parse,RExC_end,UTF,len))) {
*flagp |= HASWIDTH; /* could be SIMPLE too, but needs a handler in regexec.regrepeat */
RExC_parse+=len-1; /* we get one from nextchar() as well. :-( */