From: Christophe Jaillet Date: Thu, 24 May 2018 20:59:44 +0000 (+0000) Subject: Axe some dead code. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=674cbb467496b6d79bd468b5c561bb223a400f4a;p=apache Axe some dead code. See PR 60086. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1832202 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index 66843f4cba..7b3801b16f 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -411,7 +411,7 @@ static int uldap_connection_init(request_rec *r, } if (ldc->ChaseReferrals == AP_LDAP_CHASEREFERRALS_ON) { - if ((ldc->ReferralHopLimit != AP_LDAP_HOPLIMIT_UNSET) && ldc->ChaseReferrals == AP_LDAP_CHASEREFERRALS_ON) { + if (ldc->ReferralHopLimit != AP_LDAP_HOPLIMIT_UNSET) { /* Referral hop limit - only if referrals are enabled and a hop limit is explicitly requested */ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server, APLOGNO(01280) "Setting referral hop limit to %d.",