1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Fix warning: variable ‘in_start_time’ set but not used.

This commit is contained in:
Jeremy Allison 2012-06-18 14:28:48 -07:00
parent 9b212d8df5
commit 6cef2a613c

View File

@ -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);