mirror of https://github.com/OISF/suricata
common: improve BUG_ON
When BUG_ON is a wrapper for assert(), we risk getting rid of certain code lines. Assert is a no-op when NDEBUG is defined. This patch defines an alternate path for BUG_ON that exits after printing an error. Bug #2003.pull/2489/head
parent
98e8b13bf0
commit
fe4e119278
Loading…
Reference in New Issue