Wrap PERFORMANCE_MEASUREMENT variable as conditional compile.

This commit is contained in:
brectanus 2007-09-27 21:38:33 +00:00
parent 63a47c370e
commit 8b6f0e72a7

View File

@ -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