summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-02-25 18:39:25 +0000
committerGerald Carter <jerry@samba.org>2005-02-25 18:39:25 +0000
commite3cbd0e8c0ddc37007a777dd36e965aa6582232f (patch)
tree80d73388e1f7f01079317533f96eb7d225819aad
parent559c389c3fd56ba63f61fe91d14fc657dddbfafe (diff)
downloadsamba-e3cbd0e8c0ddc37007a777dd36e965aa6582232f.tar.gz
r5566: fix breakage on gcc 2.96 (current with 3.0 as of r5565)
-rw-r--r--source/lib/smbldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/smbldap.c b/source/lib/smbldap.c
index 3296f7994a8..68084b04045 100644
--- a/source/lib/smbldap.c
+++ b/source/lib/smbldap.c
@@ -874,9 +874,9 @@ static int smbldap_connect_system(struct smbldap_state *ldap_state, LDAP * ldap_
static int smbldap_open(struct smbldap_state *ldap_state)
{
int rc, opt_rc;
- SMB_ASSERT(ldap_state);
BOOL reopen = False;
+ SMB_ASSERT(ldap_state);
#ifndef NO_LDAP_SECURITY
if (geteuid() != 0) {
DEBUG(0, ("smbldap_open: cannot access LDAP when not root..\n"));