summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-01 20:15:57 +0200
committerVolker Lendecke <vl@samba.org>2010-08-01 18:16:19 +0200
commitc59ab01e33aa5fbfd3837d311c0e65593ab7a08a (patch)
treee45de67f90208b2211042cc8bd2a09fcb7bc350a /source3
parentfb167a602879e9348d7fab1a24e04dc289678725 (diff)
downloadsamba-c59ab01e33aa5fbfd3837d311c0e65593ab7a08a.tar.gz
samba-c59ab01e33aa5fbfd3837d311c0e65593ab7a08a.tar.bz2
samba-c59ab01e33aa5fbfd3837d311c0e65593ab7a08a.zip
s3: Fix an uninitialized variable
Diffstat (limited to 'source3')
-rw-r--r--source3/modules/vfs_acl_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c
index 79eb533af7..46ff2e6f0c 100644
--- a/source3/modules/vfs_acl_common.c
+++ b/source3/modules/vfs_acl_common.c
@@ -251,7 +251,7 @@ static NTSTATUS get_nt_acl_internal(vfs_handle_struct *handle,
{
DATA_BLOB blob;
NTSTATUS status;
- uint16_t hash_type;
+ uint16_t hash_type = XATTR_SD_HASH_TYPE_NONE;
uint8_t hash[XATTR_SD_HASH_SIZE];
uint8_t hash_tmp[XATTR_SD_HASH_SIZE];
struct security_descriptor *psd = NULL;