mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
report: remove dead function satisfiesMinLength
This commit is contained in:
parent
1d85987d96
commit
92976c640a
15
src/report.h
15
src/report.h
@ -44,21 +44,6 @@
|
||||
#include "util/exhaust.h"
|
||||
#include "util/fatbit.h"
|
||||
|
||||
static really_inline
|
||||
int satisfiesMinLength(u64a min_len, u64a from_offset,
|
||||
u64a to_offset) {
|
||||
assert(min_len);
|
||||
|
||||
if (from_offset == HS_OFFSET_PAST_HORIZON) {
|
||||
DEBUG_PRINTF("SOM beyond horizon\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
DEBUG_PRINTF("match len=%llu, min len=%llu\n", to_offset - from_offset,
|
||||
min_len);
|
||||
return to_offset - from_offset >= min_len;
|
||||
}
|
||||
|
||||
enum DedupeResult {
|
||||
DEDUPE_CONTINUE, //!< Continue with match, not a dupe.
|
||||
DEDUPE_SKIP, //!< Don't report this match, dupe or delayed due to SOM.
|
||||
|
Loading…
x
Reference in New Issue
Block a user