From: Jeff Trawick Date: Fri, 2 Mar 2001 21:44:14 +0000 (+0000) Subject: get rid of unused variable b_copy in function handle_echo() X-Git-Tag: 2.0.14~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6b1728f365f6e1d8d3c1e1a4f6648b03d04cd0f;p=apache get rid of unused variable b_copy in function handle_echo() PR: 6980 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88430 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 2d9eeca39b..e94815cd0b 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -902,11 +902,10 @@ static int handle_echo(include_ctx_t *ctx, apr_bucket_brigade **bb, request_rec } if (!strcmp(tag, "var")) { const char *val = apr_table_get(r->subprocess_env, tag_val); - int b_copy = 0; if (val) { switch(encode) { - case E_NONE: echo_text = val; b_copy = 1; break; + case E_NONE: echo_text = val; break; case E_URL: echo_text = ap_escape_uri(r->pool, val); break; case E_ENTITY: echo_text = ap_escape_html(r->pool, val); break; }