mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-28 05:53:29 +01:00
Windows Driver: remove unused variable.
This commit is contained in:
parent
7c78c4f4ac
commit
feef2fee91
@ -725,7 +725,6 @@ NTSTATUS ProcessVolumeDeviceControlIrp (PDEVICE_OBJECT DeviceObject, PEXTENSION
|
|||||||
outputBuffer->Size = sizeof(STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR);
|
outputBuffer->Size = sizeof(STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR);
|
||||||
outputBuffer->BytesPerLogicalSector = Extension->BytesPerSector;
|
outputBuffer->BytesPerLogicalSector = Extension->BytesPerSector;
|
||||||
outputBuffer->BytesPerPhysicalSector = Extension->HostBytesPerPhysicalSector;
|
outputBuffer->BytesPerPhysicalSector = Extension->HostBytesPerPhysicalSector;
|
||||||
outputBuffer->BytesOffsetForSectorAlignment = Extension->BytesOffsetForSectorAlignment;
|
|
||||||
Irp->IoStatus.Status = STATUS_SUCCESS;
|
Irp->IoStatus.Status = STATUS_SUCCESS;
|
||||||
Irp->IoStatus.Information = sizeof (STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR);
|
Irp->IoStatus.Information = sizeof (STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR);
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,6 @@ typedef struct EXTENSION
|
|||||||
|
|
||||||
uint32 HostBytesPerSector;
|
uint32 HostBytesPerSector;
|
||||||
uint32 HostBytesPerPhysicalSector;
|
uint32 HostBytesPerPhysicalSector;
|
||||||
ULONG BytesOffsetForSectorAlignment;
|
|
||||||
|
|
||||||
KEVENT keVolumeEvent; /* Event structure used when setting up a device */
|
KEVENT keVolumeEvent; /* Event structure used when setting up a device */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user