mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-15 17:02:14 +03:00
unreadVariable
This commit is contained in:
@@ -906,7 +906,6 @@ s64a castleLastKillLoc(const struct Castle *c, struct mq *q) {
|
||||
if (castleRevScan(c, q->history, sp + hlen, ep + hlen, &loc)) {
|
||||
return (s64a)loc - hlen;
|
||||
}
|
||||
ep = 0;
|
||||
}
|
||||
|
||||
return sp - 1; /* the repeats are never killed */
|
||||
|
||||
@@ -655,7 +655,8 @@ buildCastle(const CastleProto &proto,
|
||||
if (!stale_iter.empty()) {
|
||||
c->staleIterOffset = verify_u32(ptr - base_ptr);
|
||||
copy_bytes(ptr, stale_iter);
|
||||
ptr += byte_length(stale_iter);
|
||||
// Removed unused increment operation
|
||||
// ptr += byte_length(stale_iter);
|
||||
}
|
||||
|
||||
return nfa;
|
||||
|
||||
@@ -192,7 +192,7 @@ int roseCountingMiracleOccurs(const struct RoseEngine *t,
|
||||
|
||||
u32 count = 0;
|
||||
|
||||
s64a m_loc = start;
|
||||
s64a m_loc;
|
||||
|
||||
if (!cm->shufti) {
|
||||
u8 c = cm->c;
|
||||
|
||||
@@ -131,7 +131,6 @@ void findMaskLiteral(const vector<CharReach> &mask, bool streaming,
|
||||
if (better) {
|
||||
best_begin = begin;
|
||||
best_end = end;
|
||||
best_len = len;
|
||||
}
|
||||
|
||||
for (size_t i = best_begin; i < best_end; i++) {
|
||||
|
||||
Reference in New Issue
Block a user