mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Wrap PERFORMANCE_MEASUREMENT variable as conditional compile.
This commit is contained in:
parent
63a47c370e
commit
8b6f0e72a7
@ -663,7 +663,9 @@ apr_status_t msre_ruleset_process_phase(msre_ruleset *ruleset, modsec_rec *msr)
|
||||
rules = (msre_rule **)arr->elts;
|
||||
for (i = 0; i < arr->nelts; i++) {
|
||||
msre_rule *rule = rules[i];
|
||||
#if defined(PERFORMANCE_MEASUREMENT)
|
||||
apr_time_t time1 = 0;
|
||||
#endif
|
||||
|
||||
/* NEXT_CHAIN is used when one of the rules in a chain
|
||||
* fails to match and then we need to skip the remaining
|
||||
|
Loading…
x
Reference in New Issue
Block a user