summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-23 11:08:46 +0100
committerVolker Lendecke <vlendec@samba.org>2011-03-23 11:13:14 +0100
commit429e84f0d48f6e711b2067f422b9a3ac596ba0a4 (patch)
tree673d8c7fff545f3a33fadc194e6e54f4f9e96c4f /source3
parent7d2d902d51e05008cf29ef510082c5fd3f213e46 (diff)
downloadsamba-429e84f0d48f6e711b2067f422b9a3ac596ba0a4.tar.gz
samba-429e84f0d48f6e711b2067f422b9a3ac596ba0a4.tar.bz2
samba-429e84f0d48f6e711b2067f422b9a3ac596ba0a4.zip
s3: Fix a (invalid) uninitialized variable warning
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 23 11:13:14 CET 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/auth_netlogond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_netlogond.c b/source3/auth/auth_netlogond.c
index 66bd71373d..5c76542533 100644
--- a/source3/auth/auth_netlogond.c
+++ b/source3/auth/auth_netlogond.c
@@ -205,7 +205,7 @@ static NTSTATUS get_ldapi_ctx(TALLOC_CTX *mem_ctx, struct tldap_context **pld)
static NTSTATUS mymachinepw(uint8_t pwd[16])
{
TALLOC_CTX *frame = talloc_stackframe();
- struct tldap_context *ld;
+ struct tldap_context *ld = NULL;
struct tldap_message *rootdse, **msg;
const char *attrs[1] = { "unicodePwd" };
char *default_nc, *myname;