summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-08-08 09:12:31 +0200
committerStefan Metzmacher <metze@samba.org>2012-08-08 12:52:51 +0200
commit0067de20749d3cba7374ba494fd00a1ac71bbd95 (patch)
tree425b6a58bdfc8355c2e22ebfb876e517955a2bc0 /source3
parent63d92a192d83878e114febf78b8d71b81b5f8f4f (diff)
downloadsamba-0067de20749d3cba7374ba494fd00a1ac71bbd95.tar.gz
samba-0067de20749d3cba7374ba494fd00a1ac71bbd95.tar.bz2
samba-0067de20749d3cba7374ba494fd00a1ac71bbd95.zip
s3:smb2_server: remove useless variable 'i'
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/smb2_server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 42f772652a..e687b2ed89 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -2292,11 +2292,10 @@ NTSTATUS smbd_smb2_request_error_ex(struct smbd_smb2_request *req,
const char *location)
{
DATA_BLOB body;
- int i = req->current_idx;
uint8_t *outhdr = SMBD_SMB2_OUT_HDR_PTR(req);
DEBUG(10,("smbd_smb2_request_error_ex: idx[%d] status[%s] |%s| at %s\n",
- i, nt_errstr(status), info ? " +info" : "",
+ req->current_idx, nt_errstr(status), info ? " +info" : "",
location));
body.data = outhdr + SMB2_HDR_BODY;