VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/GraphicUserInterface.cpp
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-10 23:50:27 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-10 23:58:39 (GMT)
commit2d0d4b06b1f132c7620a2b11cd1b48b706b03ac8 (patch)
tree171b8eeb8279373c9ebf70abfedd5bee43b0c9ae /src/Main/GraphicUserInterface.cpp
parent944b6aa53fd099b4e6477fb1d784f945456e8706 (diff)
downloadVeraCrypt-2d0d4b06b1f132c7620a2b11cd1b48b706b03ac8.zip
VeraCrypt-2d0d4b06b1f132c7620a2b11cd1b48b706b03ac8.tar.gz
Linux: Solve compilation warning (unused variables, pointer cast)
Diffstat (limited to 'src/Main/GraphicUserInterface.cpp')
-rw-r--r--src/Main/GraphicUserInterface.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Main/GraphicUserInterface.cpp b/src/Main/GraphicUserInterface.cpp
index 014978a..94a77cb 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;