[SCM] Samba Shared Repository - branch master updated - 1bcd91366d582f4ba99ab64e99d057a4c3f94daf

Tim Prouty tprouty at samba.org
Tue Dec 2 06:00:08 GMT 2008


The branch, master has been updated
       via  1bcd91366d582f4ba99ab64e99d057a4c3f94daf (commit)
      from  6c298c06f35c132dfd6df854e8fac524e4c80376 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 1bcd91366d582f4ba99ab64e99d057a4c3f94daf
Author: Tim Prouty <tprouty at samba.org>
Date:   Mon Dec 1 21:56:59 2008 -0800

    s3: Fix 'ctx' might be used unitialized warnings

-----------------------------------------------------------------------

Summary of changes:
 source3/winbindd/idmap_ad.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c
index 05d7d98..b22e5af 100644
--- a/source3/winbindd/idmap_ad.c
+++ b/source3/winbindd/idmap_ad.c
@@ -933,7 +933,7 @@ static NTSTATUS nss_ad_map_to_alias(TALLOC_CTX *mem_ctx,
 	ADS_STATUS ads_status = ADS_ERROR_NT(NT_STATUS_UNSUCCESSFUL);
 	NTSTATUS nt_status = NT_STATUS_UNSUCCESSFUL;
 	struct idmap_domain *dom;
-	struct idmap_ad_context *ctx;
+	struct idmap_ad_context *ctx = NULL;
 
 	/* Check incoming parameters */
 
@@ -1013,7 +1013,7 @@ static NTSTATUS nss_ad_map_from_alias( TALLOC_CTX *mem_ctx,
 	NTSTATUS nt_status = NT_STATUS_UNSUCCESSFUL;
 	char *username;
 	struct idmap_domain *dom;
-	struct idmap_ad_context *ctx;
+	struct idmap_ad_context *ctx = NULL;
 
 	/* Check incoming parameters */
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list