The branch, v3-3-test has been updated
       via  a264409ec6787ea5a45bdde00817e2dcac3bffa2 (commit)
      from  911ba0ef15e8ed6d06e205c410ccf07ff33db929 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit a264409ec6787ea5a45bdde00817e2dcac3bffa2
Author: Tim Prouty <[EMAIL PROTECTED]>
Date:   Mon Dec 1 21:56:59 2008 -0800

    s3: Fix 'ctx' might be used unitialized warnings

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

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


Changeset truncated at 500 lines:

diff --git a/source/winbindd/idmap_ad.c b/source/winbindd/idmap_ad.c
index 05d7d98..b22e5af 100644
--- a/source/winbindd/idmap_ad.c
+++ b/source/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

Reply via email to