condition->name = apr_pstrdup(ctx->p, name);
condition->expr = ap_expr_parse_cmd(cmd, expr, 0, &err, NULL);
if (err) {
- void *v;
/* get rid of recently pushed (bad) condition */
- v = apr_array_pop(ctx->conditions);
+ apr_array_pop(ctx->conditions);
return apr_psprintf(cmd->temp_pool, "Could not parse expression \"%s\": %s",
expr, err);
}
err = set_worker_hc_param(ctx->p, ctx->s, NULL, word, val, template);
if (err) {
- void *v;
/* get rid of recently pushed (bad) template */
- v = apr_array_pop(ctx->templates);
+ apr_array_pop(ctx->templates);
return apr_pstrcat(cmd->temp_pool, "ProxyHCTemplate: ", err, " ", word, "=", val, "; ", name, NULL);
}
/* No error means we have a valid template */