diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 20:10:50 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-11-20 20:10:50 +0100 |
commit | 35e13e4c9637f5bf7bef6039c8c813207780a174 (patch) | |
tree | f2ea0b1aa455bb2552ffe8a7bb083f24e86d1f34 /sample | |
parent | db6f38bc1b73930f1da954525464cf1986f43a28 (diff) |
New upstream version 6.9.9upstream/6.9.9upstream
Diffstat (limited to 'sample')
-rw-r--r-- | sample/callback_each_match.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sample/callback_each_match.c b/sample/callback_each_match.c index 10ed56d..15c39dd 100644 --- a/sample/callback_each_match.c +++ b/sample/callback_each_match.c @@ -93,7 +93,7 @@ static int match(UChar* pattern, UChar* str, UChar* at, OnigOptionType options, OnigOptionType runtime_options) { int r; - unsigned char *start, *range, *end; + unsigned char *end; regex_t* reg; OnigErrorInfo einfo; OnigRegion *region; @@ -112,8 +112,6 @@ match(UChar* pattern, UChar* str, UChar* at, OnigOptionType options, OnigOptionT region = onig_region_new(); end = str + strlen((char* )str); - start = str; - range = end; mp = onig_new_match_param(); if (mp == 0) return -2; |