summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb/reply.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-17 13:12:24 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-17 13:12:24 +1100
commit46b7938d7e66c2ce25e605cd7c579f905c146616 (patch)
tree13c613e47447cf4abb8fdf2146e86b7753a2256d /source4/smb_server/smb/reply.c
parentbf6fcc612139c27d4b5837611cdafbb05f48d11d (diff)
downloadsamba-46b7938d7e66c2ce25e605cd7c579f905c146616.tar.gz
samba-46b7938d7e66c2ce25e605cd7c579f905c146616.tar.bz2
samba-46b7938d7e66c2ce25e605cd7c579f905c146616.zip
s4-smbserver: removed bogus initialisation of two union arms
Thanks to Metze for spotting this.
Diffstat (limited to 'source4/smb_server/smb/reply.c')
-rw-r--r--source4/smb_server/smb/reply.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/smb_server/smb/reply.c b/source4/smb_server/smb/reply.c
index 4baea4703a..2c99a38575 100644
--- a/source4/smb_server/smb/reply.c
+++ b/source4/smb_server/smb/reply.c
@@ -2216,7 +2216,6 @@ void smbsrv_reply_ntcreate_and_X(struct smbsrv_request *req)
/* notice that the word parameters are not word aligned, so we don't use VWV() */
fname_len = SVAL(req->in.vwv, 5);
io->ntcreatex.in.flags = IVAL(req->in.vwv, 7);
- io->ntcreatex.in.root_fid.fnum = IVAL(req->in.vwv, 11);
io->ntcreatex.in.root_fid.ntvfs = smbsrv_pull_fnum(req, req->in.vwv, 11);
io->ntcreatex.in.access_mask = IVAL(req->in.vwv, 15);
io->ntcreatex.in.alloc_size = BVAL(req->in.vwv, 19);