summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-01-25 23:00:14 +0100
committerBjörn Jacke <bj@sernet.de>2010-01-26 00:19:10 +0100
commit9536d94d5478b63fc05047964b40d8786a7246c4 (patch)
tree142370ee0c04bb2670d421a347dad7f41c49b2e9
parent55d448254a9994ecace63c077dc7768675ea3c98 (diff)
downloadsamba-9536d94d5478b63fc05047964b40d8786a7246c4.tar.gz
samba-9536d94d5478b63fc05047964b40d8786a7246c4.tar.bz2
samba-9536d94d5478b63fc05047964b40d8786a7246c4.zip
s3: remove unused Variable
Jeremy, please check!
-rw-r--r--source3/smbd/dosmode.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/smbd/dosmode.c b/source3/smbd/dosmode.c
index aaef09bc85..bc39e02285 100644
--- a/source3/smbd/dosmode.c
+++ b/source3/smbd/dosmode.c
@@ -226,7 +226,6 @@ static bool get_ea_dos_attribute(connection_struct *conn,
uint32 *pattr)
{
struct xattr_DOSATTRIB dosattrib;
- enum ndr_err_code ndr_err;
DATA_BLOB blob;
ssize_t sizeret;
fstring attrstr;
@@ -261,9 +260,6 @@ static bool get_ea_dos_attribute(connection_struct *conn,
blob.data = (uint8_t *)attrstr;
blob.length = sizeret;
- ndr_err = ndr_pull_struct_blob(&blob, talloc_tos(), NULL, &dosattrib,
- (ndr_pull_flags_fn_t)ndr_pull_xattr_DOSATTRIB);
-
DEBUG(10,("get_ea_dos_attribute: %s attr = %s\n",
smb_fname_str_dbg(smb_fname), dosattrib.attrib_hex));