1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 19:08:26 -06:00

Linux: Solve compilation warning (unused variables, pointer cast)

This commit is contained in:
Mounir IDRASSI
2015-07-11 01:50:27 +02:00
parent 944b6aa53f
commit 2d0d4b06b1
4 changed files with 1 additions and 10 deletions

View File

@@ -119,9 +119,6 @@ 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))