summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorRobin Barker <rmbarker@cpan.org>2011-05-15 14:40:46 +0100
committerFather Chrysostomos <sprout@cpan.org>2011-05-19 12:56:07 -0700
commit9c4fdda15e362ce5accd8f03629d2bbb7bb40027 (patch)
tree84f513d790eae22420b5977235c8c3a09f228fa6 /regcomp.h
parent9410e98db2629cb1014040562236ba42a308f939 (diff)
downloadperl-9c4fdda15e362ce5accd8f03629d2bbb7bb40027.tar.gz
use __attribute__unused__ to silence -Wunused-but-set-variable
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/regcomp.h b/regcomp.h
index c8f593b78d..6826ae07ba 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -836,7 +836,8 @@ re.pm, especially to the documentation.
#ifdef DEBUGGING
-#define GET_RE_DEBUG_FLAGS_DECL VOL IV re_debug_flags = 0; GET_RE_DEBUG_FLAGS;
+#define GET_RE_DEBUG_FLAGS_DECL VOL IV re_debug_flags \
+ __attribute__unused__ = 0; GET_RE_DEBUG_FLAGS;
#define RE_PV_COLOR_DECL(rpv,rlen,isuni,dsv,pv,l,m,c1,c2) \
const char * const rpv = \