Commit b0c397ed authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent 4cae71e7
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;
            	}