summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-12-27 14:37:50 -0700
committerKarl Williamson <public@khwilliamson.com>2011-01-16 19:13:24 -0700
commitc269f40313641284eb670ea37200c7fcb6caec05 (patch)
treed887b2d618c2351774ead146c9e34d2703aef656 /regexec.c
parentf7eb74527c8a18f76b790a821665f8a3de269886 (diff)
downloadperl-c269f40313641284eb670ea37200c7fcb6caec05.tar.gz
regexec.c: change variable name to reflect its purpose
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 694ac1baf6..a47bfc74bf 100644
--- a/regexec.c
+++ b/regexec.c
@@ -127,7 +127,7 @@
/* Doesn't do an assert to verify that is correct */
#define LOAD_UTF8_CHARCLASS_NO_CHECK(class) STMT_START { \
- if (!CAT2(PL_utf8_,class)) { bool ok; ENTER; save_re_context(); ok=CAT2(is_utf8_,class)((const U8*)" "); LEAVE; } } STMT_END
+ if (!CAT2(PL_utf8_,class)) { bool throw_away; ENTER; save_re_context(); throw_away = CAT2(is_utf8_,class)((const U8*)" "); LEAVE; } } STMT_END
#define LOAD_UTF8_CHARCLASS_ALNUM() LOAD_UTF8_CHARCLASS(alnum,"a")
#define LOAD_UTF8_CHARCLASS_DIGIT() LOAD_UTF8_CHARCLASS(digit,"0")