Various cppcheck fixes (#337)

This commit is contained in:
Konstantinos Margaritis
2025-05-30 12:27:28 +03:00
committed by GitHub
parent 4f40db0755
commit 7b505226ed
11 changed files with 31 additions and 29 deletions

View File

@@ -180,7 +180,7 @@ found_top:;
u64a ep = MIN(MIN(end, (s64a)q->length) + offset, first_match);
if (ep > sp && sp >= offset) {
size_t eloc;
size_t eloc = 0;
DEBUG_PRINTF("rev b%llu e%llu/%zu\n", sp - offset, ep - offset,
q->length);
assert(ep - offset <= q->length);