VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Volume
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-11 01:50:27 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-11 01:58:39 +0200
commit2d0d4b06b1f132c7620a2b11cd1b48b706b03ac8 (patch)
tree171b8eeb8279373c9ebf70abfedd5bee43b0c9ae /src/Volume
parent944b6aa53fd099b4e6477fb1d784f945456e8706 (diff)
downloadVeraCrypt-2d0d4b06b1f132c7620a2b11cd1b48b706b03ac8.tar.gz
VeraCrypt-2d0d4b06b1f132c7620a2b11cd1b48b706b03ac8.zip
Linux: Solve compilation warning (unused variables, pointer cast)
Diffstat (limited to 'src/Volume')
-rw-r--r--src/Volume/Volume.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Volume/Volume.cpp b/src/Volume/Volume.cpp
index ff373029..0a461154 100644
--- a/src/Volume/Volume.cpp
+++ b/src/Volume/Volume.cpp
@@ -118,11 +118,8 @@ namespace VeraCrypt
bool skipLayoutV1Normal = false;
bool deviceHosted = GetPath().IsDevice();
- size_t hostDeviceSectorSize = 0;
- if (deviceHosted)
- hostDeviceSectorSize = volumeFile->GetDeviceSectorSize();
// Test volume layouts
foreach (shared_ptr <VolumeLayout> layout, VolumeLayout::GetAvailableLayouts (volumeType))
{