From 429e84f0d48f6e711b2067f422b9a3ac596ba0a4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 23 Mar 2011 11:08:46 +0100 Subject: s3: Fix a (invalid) uninitialized variable warning Autobuild-User: Volker Lendecke Autobuild-Date: Wed Mar 23 11:13:14 CET 2011 on sn-devel-104 --- source3/auth/auth_netlogond.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/auth') 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; -- cgit