diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-07-11 01:50:27 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-07-11 01:58:39 +0200 |
commit | 2d0d4b06b1f132c7620a2b11cd1b48b706b03ac8 (patch) | |
tree | 171b8eeb8279373c9ebf70abfedd5bee43b0c9ae /src/Volume | |
parent | 944b6aa53fd099b4e6477fb1d784f945456e8706 (diff) | |
download | VeraCrypt-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.cpp | 3 |
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)) { |