summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-22 10:05:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:18 -0500
commit6bb0eb1bf855f77a553879ded93e6bf81688a5ef (patch)
tree67e26f51796e0ea7c488adc03836b6894873201a
parentac3f08ddbe0b484375624db0e35999a8584b57f4 (diff)
downloadsamba-6bb0eb1bf855f77a553879ded93e6bf81688a5ef.tar.gz
samba-6bb0eb1bf855f77a553879ded93e6bf81688a5ef.tar.bz2
samba-6bb0eb1bf855f77a553879ded93e6bf81688a5ef.zip
r23068: Fix some uninitialized variables in the solarisacl module
(This used to be commit 569c04a2445a74469663cec33ae42ddfcdbe1dfc)
-rw-r--r--source3/modules/vfs_solarisacl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/modules/vfs_solarisacl.c b/source3/modules/vfs_solarisacl.c
index 3ec01b2a39..b39ec447df 100644
--- a/source3/modules/vfs_solarisacl.c
+++ b/source3/modules/vfs_solarisacl.c
@@ -66,7 +66,7 @@ SMB_ACL_T solarisacl_sys_acl_get_file(vfs_handle_struct *handle,
{
SMB_ACL_T result = NULL;
int count;
- SOLARIS_ACL_T solaris_acl;
+ SOLARIS_ACL_T solaris_acl = NULL;
DEBUG(10, ("solarisacl_sys_acl_get_file called for file '%s'.\n",
path_p));
@@ -106,7 +106,7 @@ SMB_ACL_T solarisacl_sys_acl_get_fd(vfs_handle_struct *handle,
{
SMB_ACL_T result = NULL;
int count;
- SOLARIS_ACL_T solaris_acl;
+ SOLARIS_ACL_T solaris_acl = NULL;
DEBUG(10, ("entering solarisacl_sys_acl_get_fd.\n"));
@@ -139,7 +139,7 @@ int solarisacl_sys_acl_set_file(vfs_handle_struct *handle,
{
int ret = -1;
struct stat s;
- SOLARIS_ACL_T solaris_acl;
+ SOLARIS_ACL_T solaris_acl = NULL;
int count;
DEBUG(10, ("solarisacl_sys_acl_set_file called for file '%s'\n",
@@ -222,8 +222,8 @@ int solarisacl_sys_acl_set_fd(vfs_handle_struct *handle,
files_struct *fsp,
int fd, SMB_ACL_T theacl)
{
- SOLARIS_ACL_T solaris_acl;
- SOLARIS_ACL_T default_acl;
+ SOLARIS_ACL_T solaris_acl = NULL;
+ SOLARIS_ACL_T default_acl = NULL;
int count, default_count;
int ret = -1;
@@ -293,7 +293,7 @@ int solarisacl_sys_acl_delete_def_file(vfs_handle_struct *handle,
{
SMB_ACL_T smb_acl;
int ret = -1;
- SOLARIS_ACL_T solaris_acl;
+ SOLARIS_ACL_T solaris_acl = NULL;
int count;
DEBUG(10, ("entering solarisacl_sys_acl_delete_def_file.\n"));