From: Kurt Zeilenga Date: Sun, 9 Sep 2001 04:47:03 +0000 (+0000) Subject: Remove dead code X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1105 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=241d6a558e3bfd7a7cfc70a1de65fa527fe40e60;p=openldap Remove dead code --- diff --git a/libraries/libldap/tls.c b/libraries/libldap/tls.c index 237708ab0d..f31c97973c 100644 --- a/libraries/libldap/tls.c +++ b/libraries/libldap/tls.c @@ -1046,7 +1046,6 @@ int ldap_int_tls_start ( LDAP *ld, LDAPConn *conn, LDAPURLDesc *srv ) { Sockbuf *sb = conn->lconn_sb; - /* void *ctx = ld->ld_defconn->lconn_tls_ctx; */ char *host; void *ssl; @@ -1074,8 +1073,7 @@ ldap_int_tls_start ( LDAP *ld, LDAPConn *conn, LDAPURLDesc *srv ) */ ld->ld_errno = ldap_pvt_tls_check_hostname( ssl, host ); - if (ld->ld_errno != LDAP_SUCCESS) - { + if (ld->ld_errno != LDAP_SUCCESS) { return ld->ld_errno; }