openldap: fix compiler warning when built without SSL support
openldap.c:841:52: error: unused parameter ‘data’ [-Werror=unused-parameter] Closes #8367
This commit is contained in:
parent
7e30252ec3
commit
5236ed0e42
@ -844,6 +844,9 @@ static CURLcode oldap_disconnect(struct Curl_easy *data,
|
|||||||
{
|
{
|
||||||
struct ldapconninfo *li = conn->proto.ldapc;
|
struct ldapconninfo *li = conn->proto.ldapc;
|
||||||
(void) dead_connection;
|
(void) dead_connection;
|
||||||
|
#ifndef USE_SSL
|
||||||
|
(void)data;
|
||||||
|
#endif
|
||||||
|
|
||||||
if(li) {
|
if(li) {
|
||||||
if(li->ld) {
|
if(li->ld) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user