diff options
author | Jeremy Allison <jra@samba.org> | 2009-02-23 16:22:43 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-02-23 16:22:43 -0800 |
commit | faa1100d229aef56da5d48f5c19ec901e520f8ef (patch) | |
tree | 4f5bf875d05a91905ace8766c3d342770474eda9 /source3/lib/smbldap.c | |
parent | bcd6e5ec3315b14cedf7437a70c34d233ded082e (diff) | |
download | samba-faa1100d229aef56da5d48f5c19ec901e520f8ef.tar.gz samba-faa1100d229aef56da5d48f5c19ec901e520f8ef.tar.xz samba-faa1100d229aef56da5d48f5c19ec901e520f8ef.zip |
More warning fixes for Solaris.
Jeremy.
Diffstat (limited to 'source3/lib/smbldap.c')
-rw-r--r-- | source3/lib/smbldap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index f0561a5081e..e24d35818c7 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; |