mirror of
https://github.com/curl/curl.git
synced 2026-05-30 18:47:29 +03:00
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
1 changed files with 3 additions and 0 deletions
|
|
@ -844,6 +844,9 @@ static CURLcode oldap_disconnect(struct Curl_easy *data,
|
|||
{
|
||||
struct ldapconninfo *li = conn->proto.ldapc;
|
||||
(void) dead_connection;
|
||||
#ifndef USE_SSL
|
||||
(void)data;
|
||||
#endif
|
||||
|
||||
if(li) {
|
||||
if(li->ld) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue