diff --git a/lib/ldap.c b/lib/ldap.c index 0afc32c92f..678b4d5af6 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -485,6 +485,8 @@ static CURLcode ldap_do(struct Curl_easy *data, bool *done) } */ #else + (void)ldap_option; + (void)ldap_ca; /* we should probably never come up to here since configure should check in first place if we can support LDAP SSL/TLS */ failf(data, "LDAP local: SSL/TLS not supported with this version "