From: Remi Gacogne Date: Thu, 30 Apr 2020 08:30:34 +0000 (+0200) Subject: auth: Remove unused variable in the LDAP backend X-Git-Tag: dnsdist-1.5.0-rc2~3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9076%2Fhead;p=thirdparty%2Fpdns.git auth: Remove unused variable in the LDAP backend --- diff --git a/modules/ldapbackend/ldapauthenticator.cc b/modules/ldapbackend/ldapauthenticator.cc index 031d5fe097..1073e80311 100644 --- a/modules/ldapbackend/ldapauthenticator.cc +++ b/modules/ldapbackend/ldapauthenticator.cc @@ -82,7 +82,7 @@ static int ldapGssapiAuthenticatorSaslInteractCallback( LDAP *conn, unsigned fla } LdapGssapiAuthenticator::LdapGssapiAuthenticator( const std::string& kt, const std::string &ccache, int tmout ) - : d_logPrefix( "[LDAP GSSAPI] " ), d_keytabFile( kt ), d_cCacheFile( ccache ), d_timeout( tmout ) + : d_logPrefix( "[LDAP GSSAPI] " ), d_keytabFile( kt ), d_cCacheFile( ccache ) { krb5_error_code code; diff --git a/modules/ldapbackend/ldapauthenticator_p.hh b/modules/ldapbackend/ldapauthenticator_p.hh index 5cf8d41200..011549933a 100644 --- a/modules/ldapbackend/ldapauthenticator_p.hh +++ b/modules/ldapbackend/ldapauthenticator_p.hh @@ -45,7 +45,6 @@ class LdapGssapiAuthenticator : public LdapAuthenticator std::string d_logPrefix; std::string d_keytabFile; std::string d_cCacheFile; - int d_timeout; std::string d_lastError; krb5_context d_context;