mirror of https://github.com/OISF/suricata
detect: fix bad BUG_ON pattern
cppcheck:
src/detect-engine-uint.c:73:13: warning: Conversion of string literal "unknown mode" to bool always evaluates to true. [incorrectStringBooleanError]
BUG_ON("unknown mode");
^
src/detect-engine-uint.c:328:13: warning: Conversion of string literal "unknown mode" to bool always evaluates to true. [incorrectStringBooleanError]
BUG_ON("unknown mode");
^
src/detect-pcre.c:291:25: warning: Conversion of string literal "Impossible captype" to bool always evaluates to true. [incorrectStringBooleanError]
BUG_ON("Impossible captype");
^
Bug: #5291.
pull/7321/head
parent
2f48e432cd
commit
7e2ed11a11
Loading…
Reference in New Issue