debug: suppress warning for scan-build

app-layer-ssl.c:1497:27: error: call to undeclared function 'RecordAlreadyProcessed'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    DEBUG_VALIDATE_BUG_ON(RecordAlreadyProcessed(ssl_state->curr_connp));
                          ^
1 error generated.
pull/8753/head
Victor Julien 2 years ago
parent 89c947129d
commit be91955356

@ -102,6 +102,8 @@
#define DEBUG_VALIDATE_FLOW(f)
#define DEBUG_VALIDATE_PACKET(p)
#define DEBUG_VALIDATE_BUG_ON(exp) BUG_ON((exp))
/* define macro so we also get #ifdef DEBUG_VALIDATION code */
#define DEBUG_VALIDATION 1
#else /* DEBUG_VALIDATE */

Loading…
Cancel
Save