summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-11-19 10:59:38 -0700
committerKarl Williamson <public@khwilliamson.com>2012-11-19 17:13:01 -0700
commitc1976674d8b5219ed0ff97e7be3eaa3118ad66eb (patch)
tree1888f74ec05dc0442600b67dd3eec70c67b954f7
parente2efe4195e4b1c9edf934737f4f1b2a6a8873af5 (diff)
downloadperl-c1976674d8b5219ed0ff97e7be3eaa3118ad66eb.tar.gz
regexec.c: Add PERL_UNIUSED_VAR()
This is an attempt to silence warnings on some compilers.
-rw-r--r--regexec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/regexec.c b/regexec.c
index 72e2d7b049..69bda15de3 100644
--- a/regexec.c
+++ b/regexec.c
@@ -159,6 +159,7 @@ static const char* const non_utf8_target_but_utf8_required
bool throw_away PERL_UNUSED_DECL; \
ENTER; save_re_context(); \
throw_away = CAT2(is_utf8_,class)((const U8*)" "); \
+ PERL_UNUSED_VAR(throw_away); \
LEAVE; } } STMT_END
#define LOAD_UTF8_CHARCLASS_ALNUM() LOAD_UTF8_CHARCLASS(alnum,"a")