mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-10 00:02:24 +03:00
fdr_confirm: remove dead flags
- Caseless was unused - NoFlags is a bit redundant
This commit is contained in:
committed by
Matthew Barr
parent
e8c0b5685f
commit
c36c071564
@@ -92,10 +92,7 @@ void fillLitInfo(const vector<hwlmLiteral> &lits, vector<LitInfo> &tmpLitInfo,
|
||||
LitInfo &info = tmpLitInfo[i];
|
||||
memset(&info, 0, sizeof(info));
|
||||
info.id = lit.id;
|
||||
u8 flags = NoFlags;
|
||||
if (lit.nocase) {
|
||||
flags |= Caseless;
|
||||
}
|
||||
u8 flags = 0;
|
||||
if (lit.noruns) {
|
||||
flags |= NoRepeat;
|
||||
}
|
||||
|
Reference in New Issue
Block a user