This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5711aeb
)
silence a spurious compiler warning in regcomp.c
author
Dave Mitchell
<davem@fdisolutions.com>
Mon, 24 Sep 2007 01:20:00 +0000
(
01:20
+0000)
committer
Dave Mitchell
<davem@fdisolutions.com>
Mon, 24 Sep 2007 01:20:00 +0000
(
01:20
+0000)
p4raw-id: //depot/perl@31948
regcomp.c
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
441d762
..
f876c54
100644
(file)
--- 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. :-( */