detect: minor cleanup

pull/10652/head
Victor Julien 2 years ago committed by Victor Julien
parent ece2029b0b
commit 4fd0745b78

@ -729,7 +729,6 @@ static inline void DetectRulePacketRules(
const DetectRunScratchpad *scratch const DetectRunScratchpad *scratch
) )
{ {
const Signature *s = NULL;
const Signature *next_s = NULL; const Signature *next_s = NULL;
/* inspect the sigs against the packet */ /* inspect the sigs against the packet */
@ -760,7 +759,7 @@ static inline void DetectRulePacketRules(
#ifdef PROFILE_RULES #ifdef PROFILE_RULES
bool smatch = false; /* signature match */ bool smatch = false; /* signature match */
#endif #endif
s = next_s; const Signature *s = next_s;
sflags = next_sflags; sflags = next_sflags;
if (match_cnt) { if (match_cnt) {
next_s = *match_array++; next_s = *match_array++;

Loading…
Cancel
Save