git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55d4482
)
s3: remove unused Variable
author
Björn Jacke
<bj@sernet.de>
Mon, 25 Jan 2010 22:00:14 +0000
(23:00 +0100)
committer
Björn Jacke
<bj@sernet.de>
Mon, 25 Jan 2010 23:19:10 +0000
(
00:19
+0100)
Jeremy, please check!
source3/smbd/dosmode.c
patch
|
blob
|
history
diff --git
a/source3/smbd/dosmode.c
b/source3/smbd/dosmode.c
index aaef09bc85cca8b5b78e7c400ff958d0b7d23dd2..bc39e02285718259a033b27425646d906eeb91b8 100644
(file)
--- 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));