[SCM] Samba Shared Repository - branch master updated - 88a58ae0eeb553969c903a94e578375e109ad05a

Tim Prouty tprouty at samba.org
Wed Oct 8 23:43:43 GMT 2008


The branch, master has been updated
       via  88a58ae0eeb553969c903a94e578375e109ad05a (commit)
      from  646df8bec618d78905f83779bf57d96141109d8f (commit)

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


- Log -----------------------------------------------------------------
commit 88a58ae0eeb553969c903a94e578375e109ad05a
Author: Tim Prouty <tprouty at samba.org>
Date:   Tue Oct 7 20:16:04 2008 -0700

    Fixed "might be uninitialized" warning

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

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


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_acl_xattr.c b/source3/modules/vfs_acl_xattr.c
index b641195..241751c 100644
--- a/source3/modules/vfs_acl_xattr.c
+++ b/source3/modules/vfs_acl_xattr.c
@@ -89,7 +89,7 @@ static NTSTATUS get_acl_blob(TALLOC_CTX *ctx,
 	uint8_t *val = NULL;
 	uint8_t *tmp;
 	ssize_t sizeret;
-	int saved_errno;
+	int saved_errno = 0;
 
 	ZERO_STRUCTP(pblob);
 
@@ -277,7 +277,7 @@ static NTSTATUS store_acl_blob(files_struct *fsp,
 				DATA_BLOB *pblob)
 {
 	int ret;
-	int saved_errno;
+	int saved_errno = 0;
 
 	DEBUG(10,("store_acl_blob: storing blob length %u on file %s\n",
 			(unsigned int)pblob->length, fsp->fsp_name));


-- 
Samba Shared Repository


More information about the samba-cvs mailing list