diff --git a/regparse.c b/regparse.c index bc1343481d..065e5b214b 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;