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

Jeremy Allison jra at samba.org
Wed Oct 8 23:48:58 GMT 2008


The branch, v3-3-test has been updated
       via  1f95d82dd1b86e308d75e9f755f83c34e6ceb28d (commit)
      from  efc3de5e2490be615121f7231cd1611df2163e78 (commit)

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


- Log -----------------------------------------------------------------
commit 1f95d82dd1b86e308d75e9f755f83c34e6ceb28d
Author: Tim Prouty <tprouty at samba.org>
Date:   Wed Oct 8 16:48:16 2008 -0700

    Fixed "might be uninitialized" warning

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

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


Changeset truncated at 500 lines:

diff --git a/source/modules/vfs_acl_xattr.c b/source/modules/vfs_acl_xattr.c
index 106c33e..3ee8849 100644
--- a/source/modules/vfs_acl_xattr.c
+++ b/source/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