mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows Driver: remove unused variable.
This commit is contained in:
@@ -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 */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user