From d6e75b4e690483ae7f19a670b9e7904c54b7f720 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 30 Apr 2020 10:30:34 +0200 Subject: [PATCH] auth: Remove unused variable in the LDAP backend --- modules/ldapbackend/ldapauthenticator.cc | 2 +- modules/ldapbackend/ldapauthenticator_p.hh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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; -- 2.47.2