diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-12-19 08:12:44 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-12-19 08:12:44 +0100 |
commit | 7547c5a1405dff1aac1ab054a24907b3ae724c12 (patch) | |
tree | 4ca475fcd4511e8cd245ce31349f4efb56089aaf /sample | |
parent | 9d10df3f441724d605cd8729c8e8d3ba1ad816f4 (diff) | |
parent | e87df9b5e9eea77d2155767952c996f91b5eebfc (diff) |
Merge branch 'release/debian/6.9.9-1'HEADdebian/6.9.9-1master
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; |