summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2014-05-13 14:39:07 +0200
committerJan Pazdziora <jpazdziora@redhat.com>2014-05-13 14:39:11 +0200
commitd4d3d8f2e53dd6abbd3141041830c643bc19e26a (patch)
tree5e8a6cbe16c5b4352fb37c5712e1192fb0ee437a
parentf6c50a94969ddf8ccb177118096f11a1ad73c9f3 (diff)
downloadmod_lookup_identity-d4d3d8f2e53dd6abbd3141041830c643bc19e26a.tar.gz
mod_lookup_identity-d4d3d8f2e53dd6abbd3141041830c643bc19e26a.tar.xz
mod_lookup_identity-d4d3d8f2e53dd6abbd3141041830c643bc19e26a.zip
Fixing dead code.
Addressing dead_error_line – Execution cannot reach this statement "the_config = create_common_...".
-rw-r--r--mod_lookup_identity.c4
1 files changed, 1 insertions, 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;