summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-11-05 12:16:42 -0600
committerKarl Williamson <public@khwilliamson.com>2011-11-08 22:38:38 -0700
commit24efd69ba77ba76cd714519dccee88f45820d8b4 (patch)
tree6f684c3cdfbf8c896a308a0fcb2e6e38f231a0d0 /regcomp.c
parent0765b2b82b120f4e57571368932aa4863aba62f6 (diff)
downloadperl-24efd69ba77ba76cd714519dccee88f45820d8b4.tar.gz
regcomp.c: Silence compiler warning about longjump
I believe that there isn't a code path that can screw this up, but one compiler at least believes otherwise. Declaring it volatile should fix that.
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index d7cb993649..595fc6f8e6 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -4523,7 +4523,7 @@ Perl_re_compile(pTHX_ SV * const pattern, U32 orig_pm_flags)
struct regexp *r;
register regexp_internal *ri;
STRLEN plen;
- char *exp;
+ VOL char *exp;
char* xend;
regnode *scan;
I32 flags;