fdr_confirm: remove dead flags

- Caseless was unused
 - NoFlags is a bit redundant
This commit is contained in:
Justin Viiret 2017-05-23 13:39:24 +10:00 committed by Matthew Barr
parent e8c0b5685f
commit c36c071564
2 changed files with 1 additions and 6 deletions

View File

@ -43,8 +43,6 @@ u32 mul_hash_64(u64a lv, u64a andmsk, u64a mult, u32 nBits) {
#define CONF_HASH_CALL mul_hash_64
typedef enum LitInfoFlags {
NoFlags = 0,
Caseless = 1,
NoRepeat = 2,
} LitInfoFlags;

View File

@ -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;
}