summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-06-18 14:28:48 -0700
committerJeremy Allison <jra@samba.org>2012-06-19 10:27:23 -0700
commit6cef2a613c4706dab4fe797465e29fe32d81976f (patch)
tree2abdf4348ad937f58da9673a567dd49392e1bbd8
parent9b212d8df5a6f4120dbfa135915597650a301cfa (diff)
downloadsamba-6cef2a613c4706dab4fe797465e29fe32d81976f.tar.gz
samba-6cef2a613c4706dab4fe797465e29fe32d81976f.tar.bz2
samba-6cef2a613c4706dab4fe797465e29fe32d81976f.zip
Fix warning: variable ‘in_start_time’ set but not used.
-rw-r--r--source3/smbd/smb2_negprot.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/smb2_negprot.c b/source3/smbd/smb2_negprot.c
index cfb5dcb777..d3a709b159 100644
--- a/source3/smbd/smb2_negprot.c
+++ b/source3/smbd/smb2_negprot.c
@@ -99,7 +99,6 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req)
uint32_t in_capabilities;
DATA_BLOB in_guid_blob;
struct GUID in_guid;
- NTTIME in_start_time;
uint16_t dialect = 0;
uint32_t capabilities;
DATA_BLOB out_guid_blob;
@@ -121,7 +120,6 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req)
in_security_mode = SVAL(inbody, 0x04);
in_capabilities = IVAL(inbody, 0x08);
in_guid_blob = data_blob_const(inbody + 0x0C, 16);
- in_start_time = BVAL(inbody, 0x1C);
if (dialect_count == 0) {
return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER);