summaryrefslogtreecommitdiff
path: root/regparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'regparse.c')
-rw-r--r--regparse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/regparse.c b/regparse.c
index bc13434..065e5b2 100644
--- a/regparse.c
+++ b/regparse.c
@@ -1738,7 +1738,7 @@ add_code_range_to_buf0(BBuf** pbuf, ScanEnv* env, OnigCodePoint from, OnigCodePo
int checkdup)
{
int r, inc_n, pos;
- int low, high, bound, x;
+ OnigCodePoint low, high, bound, x;
OnigCodePoint n, *data;
BBuf* bbuf;
@@ -3239,7 +3239,6 @@ fetch_named_backref_token(OnigCodePoint c, OnigToken* tok, UChar** src,
UChar* end, ScanEnv* env)
{
int r, num;
- OnigEncoding enc = env->enc;
const OnigSyntaxType* syn = env->syntax;
UChar* prev;
UChar* p = *src;