VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main')
-rw-r--r--src/Main/GraphicUserInterface.cpp3
-rw-r--r--src/Main/TextUserInterface.cpp3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/Main/GraphicUserInterface.cpp b/src/Main/GraphicUserInterface.cpp
index 014978a1..94a77cbf 100644
--- a/src/Main/GraphicUserInterface.cpp
+++ b/src/Main/GraphicUserInterface.cpp
@@ -1392,19 +1392,16 @@ namespace VeraCrypt
File backupFile;
backupFile.Open (*files.front(), File::OpenRead);
- uint64 headerSize;
bool legacyBackup;
// Determine the format of the backup file
switch (backupFile.Length())
{
case TC_VOLUME_HEADER_GROUP_SIZE:
- headerSize = TC_VOLUME_HEADER_SIZE;
legacyBackup = false;
break;
case TC_VOLUME_HEADER_SIZE_LEGACY * 2:
- headerSize = TC_VOLUME_HEADER_SIZE_LEGACY;
legacyBackup = true;
break;
diff --git a/src/Main/TextUserInterface.cpp b/src/Main/TextUserInterface.cpp
index 50153eb9..0bf3485e 100644
--- a/src/Main/TextUserInterface.cpp
+++ b/src/Main/TextUserInterface.cpp
@@ -1470,19 +1470,16 @@ namespace VeraCrypt
File backupFile;
backupFile.Open (filePath, File::OpenRead);
- uint64 headerSize;
bool legacyBackup;
// Determine the format of the backup file
switch (backupFile.Length())
{
case TC_VOLUME_HEADER_GROUP_SIZE:
- headerSize = TC_VOLUME_HEADER_SIZE;
legacyBackup = false;
break;
case TC_VOLUME_HEADER_SIZE_LEGACY * 2:
- headerSize = TC_VOLUME_HEADER_SIZE_LEGACY;
legacyBackup = true;
break;