mirror of https://github.com/OISF/suricata
datasets: work around scan-build warning
datasets.c:493:27: warning: Dereference of null pointer [core.NullDereference] 493 | DEBUG_VALIDATE_BUG_ON(set->hash->config.hash_size != hashsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util-validate.h:95:44: note: expanded from macro 'DEBUG_VALIDATE_BUG_ON' 95 | #define DEBUG_VALIDATE_BUG_ON(exp) BUG_ON((exp)) | ^~~ ./suricata-common.h:307:36: note: expanded from macro 'BUG_ON' 307 | #define BUG_ON(x) assert(!(x)) | ^ /usr/include/assert.h:109:7: note: expanded from macro 'assert' 109 | ((expr) \ | ^~~~ 1 warning generated.pull/12783/head
parent
be372ce39d
commit
c6fdf99cec
Loading…
Reference in New Issue