diff --git a/lib/openldap.c b/lib/openldap.c index 445d30167..5996876a9 100644 --- a/lib/openldap.c +++ b/lib/openldap.c @@ -178,6 +178,7 @@ static Sockbuf_IO ldapsb_tls; static CURLcode ldap_connect(struct connectdata *conn, bool *done) { + CURLcode result; ldapconninfo *li = conn->proto.generic; struct SessionHandle *data=conn->data; int rc, proto = LDAP_VERSION3;