[SCM] Samba Shared Repository - branch master updated - 61cb830f664068862613440db838c6720996dcca

Jeremy Allison jra at samba.org
Tue Sep 16 00:54:40 GMT 2008


The branch, master has been updated
       via  61cb830f664068862613440db838c6720996dcca (commit)
      from  38fff9f9227c2c70a9d522f8355a9e1967e7cb72 (commit)

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


- Log -----------------------------------------------------------------
commit 61cb830f664068862613440db838c6720996dcca
Author: Steven Danneman <steven.danneman at isilon.com>
Date:   Mon Sep 15 17:39:43 2008 -0700

    Fixed "uninitilized variable" build warning
    
    Simple fix for warning:
    
    Compiling utils/sharesec.c
    utils/sharesec.c: In function `change_share_sec':
    utils/sharesec.c:404: warning: 'sd' might be used uninitialized in this function

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

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


Changeset truncated at 500 lines:

diff --git a/source3/utils/sharesec.c b/source3/utils/sharesec.c
index 9409690..46f9ecd 100644
--- a/source3/utils/sharesec.c
+++ b/source3/utils/sharesec.c
@@ -401,7 +401,7 @@ static void sort_acl(SEC_ACL *the_acl)
 
 static int change_share_sec(TALLOC_CTX *mem_ctx, const char *sharename, char *the_acl, enum acl_mode mode)
 {
-	SEC_DESC *sd;
+	SEC_DESC *sd = NULL;
 	SEC_DESC *old = NULL;
 	size_t sd_size = 0;
 	uint32 i, j;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list