diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2011-01-01 14:12:15 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2011-01-01 14:12:15 +0000 |
commit | 2805a957f145f757c37dc672994143d62a66ec49 (patch) | |
tree | 898684d45a156268b7d4a6af908a211e6c570d1c | |
parent | 5e0ac6bf33dbee82d650b9140d336798ebf6af48 (diff) |
include definition of rc in all code paths because it's used most of the time
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1362 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | nslcd/myldap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nslcd/myldap.c b/nslcd/myldap.c index a1acb21..df2d653 100644 --- a/nslcd/myldap.c +++ b/nslcd/myldap.c @@ -5,7 +5,7 @@ Copyright (C) 1997-2006 Luke Howard Copyright (C) 2006, 2007 West Consulting - Copyright (C) 2006, 2007, 2008, 2009, 2010 Arthur de Jong + Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Arthur de Jong This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -377,9 +377,7 @@ static int do_sasl_interact(LDAP UNUSED(*ld),unsigned UNUSED(flags),void *defaul code. */ static int do_bind(LDAP *ld,const char *binddn,const char *bindpw,const char *uri) { -#ifdef LDAP_OPT_X_TLS int rc; -#endif /* LDAP_OPT_X_TLS */ #ifdef HAVE_LDAP_SASL_INTERACTIVE_BIND_S #ifndef HAVE_SASL_INTERACT_T struct berval cred; |