From d4d3d8f2e53dd6abbd3141041830c643bc19e26a Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Tue, 13 May 2014 14:39:07 +0200 Subject: Fixing dead code. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Addressing dead_error_line – Execution cannot reach this statement "the_config = create_common_...". --- mod_lookup_identity.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mod_lookup_identity.c b/mod_lookup_identity.c index 4037dbb..343b0ba 100644 --- a/mod_lookup_identity.c +++ b/mod_lookup_identity.c @@ -234,10 +234,8 @@ static int lookup_identity_hook(request_rec * r) { } else { the_config = srv_cfg; } - } else if (cfg) { - the_config = cfg; } else { - the_config = create_common_conf(r->pool); + the_config = cfg; } int the_output = the_config->output; -- cgit