VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Volume/Volume.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Volume/Volume.cpp')
-rw-r--r--src/Volume/Volume.cpp5
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 @@
#ifndef TC_WINDOWS
#include <errno.h>
#endif
-#include "EncryptionModeLRW.h"
#include "EncryptionModeXTS.h"
#include "Volume.h"
#include "VolumeHeader.h"
@@ -226,10 +225,6 @@ namespace VeraCrypt
mode.SetSectorOffset (partitionStartOffset / ENCRYPTION_DATA_UNIT_SIZE);
}
- else if (typeid (mode) == typeid (EncryptionModeLRW))
- {
- mode.SetSectorOffset (VolumeDataOffset / SectorSize);
- }
// Volume protection
if (Protection == VolumeProtection::HiddenVolumeReadOnly)