summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-04-19 11:38:49 -0700
committerJeremy Allison <jra@samba.org>2010-04-19 11:38:49 -0700
commitcea24c4620a782fec4a5e6da0892c9fa6d712d6a (patch)
tree801d67dd5c6cdf02557a6daa0a00e552bf257ce1
parentba537079cff577237b7df50ab15fabb5b0086166 (diff)
downloadsamba-cea24c4620a782fec4a5e6da0892c9fa6d712d6a.tar.gz
samba-cea24c4620a782fec4a5e6da0892c9fa6d712d6a.tar.bz2
samba-cea24c4620a782fec4a5e6da0892c9fa6d712d6a.zip
Remove an unused auto variable.
Jeremy.
-rw-r--r--source3/smbd/smb2_server.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 55111da4c4..72c2dbd5dd 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -1283,7 +1283,6 @@ NTSTATUS smbd_smb2_request_done_ex(struct smbd_smb2_request *req,
const char *location)
{
uint8_t *outhdr;
- uint8_t *outdyn;
int i = req->current_idx;
uint32_t next_command_ofs;
@@ -1303,8 +1302,6 @@ NTSTATUS smbd_smb2_request_done_ex(struct smbd_smb2_request *req,
}
outhdr = (uint8_t *)req->out.vector[i].iov_base;
- /* the fallback dynamic buffer */
- outdyn = outhdr + SMB2_HDR_BODY + 8;
next_command_ofs = IVAL(outhdr, SMB2_HDR_NEXT_COMMAND);
SIVAL(outhdr, SMB2_HDR_STATUS, NT_STATUS_V(status));