dirmngr: Remove useless code.

* dirmngr/ks-engine-ldap.c (my_ldap_connect): Remove the
password_param thing because we set the password directly without an
intermediate var.
--

Reported-by: Ingo Kloecker
This commit is contained in:
Werner Koch 2021-06-04 07:49:00 +02:00
parent b722fd755c
commit 8bd5172539
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 0 additions and 5 deletions

View File

@ -546,11 +546,6 @@ my_ldap_connect (parsed_uri_t uri, LDAP **ldap_connp,
}
else
{
struct uri_tuple_s *password_param;
password_param = uri_query_lookup (uri, "password");
password = password_param ? password_param->value : NULL;
host = uri->host;
port = uri->port;
bindname = uri->auth;