Fix release build.
A variable was used only in an assert and was unused in release.
@@ -840,8 +840,10 @@ bool qd_policy_host_pattern_add(qd_policy_t *policy, char *hostPattern)
void *oldp = qd_parse_tree_add_pattern_str(policy->hostname_tree, hostPattern, hostPattern);
if (oldp) {
void *recovered = qd_parse_tree_add_pattern_str(policy->hostname_tree, (char *)oldp, oldp);
+ if (!recovered) {
assert (recovered);
}
+ }
sys_mutex_unlock(policy->tree_lock);
if (oldp)
qd_log(policy->log_source,
