[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3028-g931abf7

Jeremy Allison jra at samba.org
Tue Sep 16 00:56:45 GMT 2008


The branch, v3-2-test has been updated
       via  931abf7898f574fcf70c239b2ad5c180ff6bb8e8 (commit)
      from  d10c386472175ceb312b9bcca07822a6df66a266 (commit)

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


- Log -----------------------------------------------------------------
commit 931abf7898f574fcf70c239b2ad5c180ff6bb8e8
Author: Steven Danneman <steven.danneman at isilon.com>
Date:   Mon Sep 15 17:55:22 2008 -0700

    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:
 source/utils/sharesec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/utils/sharesec.c b/source/utils/sharesec.c
index 9409690..46f9ecd 100644
--- a/source/utils/sharesec.c
+++ b/source/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