}
-static bool xdl_clean_mmatch(uint8_t const *action, ptrdiff_t i, ptrdiff_t s, ptrdiff_t e) {
+static bool xdl_clean_mmatch(uint8_t const *action, ptrdiff_t i, ptrdiff_t len) {
ptrdiff_t r, rdis0, rpdis0, rdis1, rpdis1;
+ ptrdiff_t s = 0, e = len - 1;
/*
* Limits the window that is examined during the similar-lines
uint8_t action = action1[i];
if (action == INVESTIGATE) {
- if (!xdl_clean_mmatch(action1, i, 0, len1 - 1))
+ if (!xdl_clean_mmatch(action1, i, len1))
action = KEEP;
else
action = DISCARD;
uint8_t action = action2[i];
if (action == INVESTIGATE) {
- if (!xdl_clean_mmatch(action2, i, 0, len2 - 1))
+ if (!xdl_clean_mmatch(action2, i, len2))
action = KEEP;
else
action = DISCARD;