summaryrefslogtreecommitdiff
path: root/enc/gb18030.c
diff options
context:
space:
mode:
Diffstat (limited to 'enc/gb18030.c')
-rw-r--r--enc/gb18030.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/gb18030.c b/enc/gb18030.c
index 100c2bb78e..b2adb785f8 100644
--- a/enc/gb18030.c
+++ b/enc/gb18030.c
@@ -63,7 +63,7 @@ static const char GB18030_MAP[] = {
};
static int
-gb18030_mbc_enc_len(const UChar* p, const UChar* end, OnigEncoding enc)
+gb18030_mbc_enc_len(const UChar* p, const UChar* end ARG_UNUSED, OnigEncoding enc ARG_UNUSED)
{
if (GB18030_MAP[*p] != CM)
return 1;
@@ -470,7 +470,7 @@ gb18030_left_adjust_char_head(const UChar* start, const UChar* s, OnigEncoding e
}
static int
-gb18030_is_allowed_reverse_match(const UChar* s, const UChar* end ARG_UNUSED, OnigEncoding enc)
+gb18030_is_allowed_reverse_match(const UChar* s, const UChar* end ARG_UNUSED, OnigEncoding enc ARG_UNUSED)
{
return GB18030_MAP[*s] == C1 ? TRUE : FALSE;
}