diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-09 10:05:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:04 -0500 |
commit | 30ee8beb9316a99e8a49993306252591106cb349 (patch) | |
tree | a00d384bb7e1e9c09a800f4e3de00b2c9450e17b /source4/ldap_server/ldap_bind.c | |
parent | 85e24e54d29ca8a08ad833831052e41a0bb257b6 (diff) | |
download | samba-30ee8beb9316a99e8a49993306252591106cb349.tar.gz samba-30ee8beb9316a99e8a49993306252591106cb349.tar.bz2 samba-30ee8beb9316a99e8a49993306252591106cb349.zip |
r18301: I discovered how to load the warnings from a build farm build into
emacs compile mode (hint, paste to a file, and compile as "cat
filename").
This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
(This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
Diffstat (limited to 'source4/ldap_server/ldap_bind.c')
-rw-r--r-- | source4/ldap_server/ldap_bind.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c index fe23d55d1d..9736def3bf 100644 --- a/source4/ldap_server/ldap_bind.c +++ b/source4/ldap_server/ldap_bind.c @@ -117,7 +117,7 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call) struct ldap_BindResponse *resp; struct ldapsrv_connection *conn; int result = 0; - const char *errstr; + const char *errstr=NULL; NTSTATUS status = NT_STATUS_OK; DEBUG(10, ("BindSASL dn: %s\n",req->dn)); @@ -200,7 +200,7 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call) result = LDAP_SASL_BIND_IN_PROGRESS; errstr = NULL; } else if (NT_STATUS_IS_OK(status)) { - struct auth_session_info *old_session_info; + struct auth_session_info *old_session_info=NULL; struct ldapsrv_sasl_context *ctx; result = LDAP_SUCCESS; |