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

Jeremy Allison jra at samba.org
Tue Sep 16 00:55:35 GMT 2008


The branch, v3-3-test has been updated
       via  da582a6e5d95c54d284fbe9d713ede9ef8a9793d (commit)
      from  52f8463962d266d904b60919a6a40c0b76de34ef (commit)

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


- Log -----------------------------------------------------------------
commit da582a6e5d95c54d284fbe9d713ede9ef8a9793d
Author: Steven Danneman <steven.danneman at isilon.com>
Date:   Mon Sep 15 17:54:21 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