From 2d0d4b06b1f132c7620a2b11cd1b48b706b03ac8 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 11 Jul 2015 01:50:27 +0200 Subject: Linux: Solve compilation warning (unused variables, pointer cast) --- src/Volume/Volume.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/Volume/Volume.cpp') 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 @@ -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 layout, VolumeLayout::GetAvailableLayouts (volumeType)) -- cgit v1.2.3