Fixed all warnings with -Wall and -Wextra
This commit is contained in:
@@ -104,7 +104,6 @@ void TestCubicSurfaceExtractor::testExecute()
|
||||
const static uint32_t uExpectedIndices = 9936;
|
||||
const static uint32_t uMaterialToCheck = 3000;
|
||||
const static float fExpectedMaterial = 42.0f;
|
||||
const static float fNoMaterial = 1.0f;
|
||||
const static uint32_t uIndexToCheck = 2000;
|
||||
const static uint32_t uExpectedIndex = 1334;
|
||||
|
||||
|
@@ -50,7 +50,7 @@ public:
|
||||
return voxel;
|
||||
}
|
||||
|
||||
float convertToMaterial(float voxel)
|
||||
float convertToMaterial(float /*voxel*/)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
@@ -83,7 +83,7 @@ void writeDensityValueToVoxel(int valueToWrite, MaterialDensityPair88& voxel)
|
||||
}
|
||||
|
||||
template<typename VoxelType>
|
||||
void writeMaterialValueToVoxel(int valueToWrite, VoxelType& voxel)
|
||||
void writeMaterialValueToVoxel(int /*valueToWrite*/, VoxelType& /*voxel*/)
|
||||
{
|
||||
//Most types don't have a material
|
||||
return;
|
||||
|
Reference in New Issue
Block a user