From: Karl Williamson Date: Mon, 19 Nov 2012 17:59:38 +0000 (-0700) Subject: regexec.c: Add PERL_UNIUSED_VAR() X-Git-Tag: upstream/5.20.0~4760^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1976674d8b5219ed0ff97e7be3eaa3118ad66eb;p=platform%2Fupstream%2Fperl.git regexec.c: Add PERL_UNIUSED_VAR() This is an attempt to silence warnings on some compilers. --- diff --git a/regexec.c b/regexec.c index 72e2d7b..69bda15 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")