VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-05-23 11:52:31 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-05-25 01:15:14 +0200
commitfeef2fee91d25def1f213cd5156b641abeec8229 (patch)
tree5d539151d9556a9818f4bd4fbaafd06fb5c971eb
parent7c78c4f4ac7be0116f48e2609e49a0d7d9458073 (diff)
downloadVeraCrypt-feef2fee91d25def1f213cd5156b641abeec8229.tar.gz
VeraCrypt-feef2fee91d25def1f213cd5156b641abeec8229.zip
Windows Driver: remove unused variable.
-rw-r--r--src/Driver/Ntdriver.c1
-rw-r--r--src/Driver/Ntdriver.h1
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 */