Fixed all warnings with -Wall and -Wextra

This commit is contained in:
p265186
2012-10-25 17:12:41 +02:00
parent 6cad1e7748
commit 3c0f2ab4b2
5 changed files with 5 additions and 10 deletions

View File

@ -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;