diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-05-23 11:52:31 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-05-25 01:15:14 +0200 |
commit | feef2fee91d25def1f213cd5156b641abeec8229 (patch) | |
tree | 5d539151d9556a9818f4bd4fbaafd06fb5c971eb /src | |
parent | 7c78c4f4ac7be0116f48e2609e49a0d7d9458073 (diff) | |
download | VeraCrypt-feef2fee91d25def1f213cd5156b641abeec8229.tar.gz VeraCrypt-feef2fee91d25def1f213cd5156b641abeec8229.zip |
Windows Driver: remove unused variable.
Diffstat (limited to 'src')
-rw-r--r-- | src/Driver/Ntdriver.c | 1 | ||||
-rw-r--r-- | src/Driver/Ntdriver.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/Driver/Ntdriver.c b/src/Driver/Ntdriver.c index 6a2c4bc8..4f9c94fd 100644 --- a/src/Driver/Ntdriver.c +++ b/src/Driver/Ntdriver.c @@ -725,7 +725,6 @@ NTSTATUS ProcessVolumeDeviceControlIrp (PDEVICE_OBJECT DeviceObject, PEXTENSION outputBuffer->Size = sizeof(STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR); outputBuffer->BytesPerLogicalSector = Extension->BytesPerSector; outputBuffer->BytesPerPhysicalSector = Extension->HostBytesPerPhysicalSector; - outputBuffer->BytesOffsetForSectorAlignment = Extension->BytesOffsetForSectorAlignment; Irp->IoStatus.Status = STATUS_SUCCESS; Irp->IoStatus.Information = sizeof (STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR); } diff --git a/src/Driver/Ntdriver.h b/src/Driver/Ntdriver.h index 2c5f13da..5b52ab04 100644 --- a/src/Driver/Ntdriver.h +++ b/src/Driver/Ntdriver.h @@ -63,7 +63,6 @@ typedef struct EXTENSION uint32 HostBytesPerSector; uint32 HostBytesPerPhysicalSector; - ULONG BytesOffsetForSectorAlignment; KEVENT keVolumeEvent; /* Event structure used when setting up a device */ |