diff options
Diffstat (limited to 'src/Volume/Volume.cpp')
-rw-r--r-- | src/Volume/Volume.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Volume/Volume.cpp b/src/Volume/Volume.cpp index aeec78e2..2c319ad9 100644 --- a/src/Volume/Volume.cpp +++ b/src/Volume/Volume.cpp | |||
@@ -9,7 +9,6 @@ | |||
9 | #ifndef TC_WINDOWS | 9 | #ifndef TC_WINDOWS |
10 | #include <errno.h> | 10 | #include <errno.h> |
11 | #endif | 11 | #endif |
12 | #include "EncryptionModeLRW.h" | ||
13 | #include "EncryptionModeXTS.h" | 12 | #include "EncryptionModeXTS.h" |
14 | #include "Volume.h" | 13 | #include "Volume.h" |
15 | #include "VolumeHeader.h" | 14 | #include "VolumeHeader.h" |
@@ -226,10 +225,6 @@ namespace VeraCrypt | |||
226 | 225 | ||
227 | mode.SetSectorOffset (partitionStartOffset / ENCRYPTION_DATA_UNIT_SIZE); | 226 | mode.SetSectorOffset (partitionStartOffset / ENCRYPTION_DATA_UNIT_SIZE); |
228 | } | 227 | } |
229 | else if (typeid (mode) == typeid (EncryptionModeLRW)) | ||
230 | { | ||
231 | mode.SetSectorOffset (VolumeDataOffset / SectorSize); | ||
232 | } | ||
233 | 228 | ||
234 | // Volume protection | 229 | // Volume protection |
235 | if (Protection == VolumeProtection::HiddenVolumeReadOnly) | 230 | if (Protection == VolumeProtection::HiddenVolumeReadOnly) |