summaryrefslogtreecommitdiff
path: root/source3/lib/smbldap.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-02-23 16:22:43 -0800
committerJeremy Allison <jra@samba.org>2009-02-23 16:22:43 -0800
commitfaa1100d229aef56da5d48f5c19ec901e520f8ef (patch)
tree4f5bf875d05a91905ace8766c3d342770474eda9 /source3/lib/smbldap.c
parentbcd6e5ec3315b14cedf7437a70c34d233ded082e (diff)
downloadsamba-faa1100d229aef56da5d48f5c19ec901e520f8ef.tar.gz
samba-faa1100d229aef56da5d48f5c19ec901e520f8ef.tar.bz2
samba-faa1100d229aef56da5d48f5c19ec901e520f8ef.zip
More warning fixes for Solaris.
Jeremy.
Diffstat (limited to 'source3/lib/smbldap.c')
-rw-r--r--source3/lib/smbldap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index f0561a5081..e24d35818c 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -581,7 +581,9 @@ static void smbldap_store_state(LDAP *ld, struct smbldap_state *smbldap_state)
int smb_ldap_start_tls(LDAP *ldap_struct, int version)
{
+#ifdef LDAP_OPT_X_TLS
int rc;
+#endif
if (lp_ldap_ssl() != LDAP_SSL_START_TLS) {
return LDAP_SUCCESS;