diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-10-17 22:32:07 -0600 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-10-21 05:55:49 -0700 |
commit | d53d27f973b3f4329ad8aa1e1a11554c8e19c3e3 (patch) | |
tree | 7c13a990cf71f82785c6997b3be970ccbcd2a11a /regcomp.h | |
parent | ffd08bbf4eee59b6c86c374289d59dfad26344ad (diff) | |
download | perl-d53d27f973b3f4329ad8aa1e1a11554c8e19c3e3.tar.gz |
regcomp.c: Get rid of compiler warning.
This patch should remove a compiler warning that is currently only
showing up in one compiler. It declares a debug-only variable to be
volatile, so should silence the warning that it is getting clobbered.
Since this variable is only used for debugging purposes, when DEBUGGING
is defined, performance should not be an issue.
Diffstat (limited to 'regcomp.h')
-rw-r--r-- | regcomp.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -787,7 +787,7 @@ re.pm, especially to the documentation. #ifdef DEBUGGING -#define GET_RE_DEBUG_FLAGS_DECL IV re_debug_flags = 0; GET_RE_DEBUG_FLAGS; +#define GET_RE_DEBUG_FLAGS_DECL VOL IV re_debug_flags = 0; GET_RE_DEBUG_FLAGS; #define RE_PV_COLOR_DECL(rpv,rlen,isuni,dsv,pv,l,m,c1,c2) \ const char * const rpv = \ |