summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-18 15:41:59 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-18 15:41:59 (GMT)
commit0ffc74dece854ae8baa7a42342cab0fe29df04e9 (patch)
tree421ebd616870f52dacdffebb4bcdf818b2e94a78 /regexec.c
parentca5a0db67bf1389588a8495a5954162bd3346df1 (diff)
* regcomp.c, regexec.c: fix-up warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 2c16daf..2587cd9 100644
--- a/regexec.c
+++ b/regexec.c
@@ -3885,8 +3885,8 @@ onig_search_gpos(regex_t* reg, const UChar* str, const UChar* end,
ptrdiff_t r;
UChar *s, *prev;
OnigMatchArg msa;
- const UChar *orig_start = start;
#ifdef USE_MATCH_RANGE_MUST_BE_INSIDE_OF_SPECIFIED_RANGE
+ const UChar *orig_start = start;
const UChar *orig_range = range;
#endif