From 2acb98bdcbf5d0ffa3d098846ba70f45577a48f1 Mon Sep 17 00:00:00 2001 From: David Williams Date: Tue, 16 Jul 2013 11:50:59 +0200 Subject: [PATCH] Compile warning fixes. --- library/PolyVoxCore/include/PolyVoxCore/BaseVolume.inl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/PolyVoxCore/include/PolyVoxCore/BaseVolume.inl b/library/PolyVoxCore/include/PolyVoxCore/BaseVolume.inl index a78804ec..dc280ee2 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/BaseVolume.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/BaseVolume.inl @@ -165,7 +165,7 @@ namespace PolyVox //////////////////////////////////////////////////////////////////////////////// template template - VoxelType BaseVolume::getVoxel(int32_t uXPos, int32_t uYPos, int32_t uZPos, VoxelType tBorder) const + VoxelType BaseVolume::getVoxel(int32_t /*uXPos*/, int32_t /*uYPos*/, int32_t /*uZPos*/, VoxelType /*tBorder*/) const { POLYVOX_ASSERT(false, "You should never call the base class version of this function."); return VoxelType(); @@ -183,7 +183,7 @@ namespace PolyVox //////////////////////////////////////////////////////////////////////////////// template template - VoxelType BaseVolume::getVoxel(const Vector3DInt32& v3dPos, VoxelType tBorder) const + VoxelType BaseVolume::getVoxel(const Vector3DInt32& /*v3dPos*/, VoxelType /*tBorder*/) const { POLYVOX_ASSERT(false, "You should never call the base class version of this function."); return VoxelType(); @@ -200,7 +200,7 @@ namespace PolyVox /// \return The voxel value //////////////////////////////////////////////////////////////////////////////// template - VoxelType BaseVolume::getVoxel(int32_t uXPos, int32_t uYPos, int32_t uZPos, WrapMode eWrapMode, VoxelType tBorder) const + VoxelType BaseVolume::getVoxel(int32_t /*uXPos*/, int32_t /*uYPos*/, int32_t /*uZPos*/, WrapMode /*eWrapMode*/, VoxelType /*tBorder*/) const { POLYVOX_ASSERT(false, "You should never call the base class version of this function."); return VoxelType(); @@ -215,7 +215,7 @@ namespace PolyVox /// \return The voxel value //////////////////////////////////////////////////////////////////////////////// template - VoxelType BaseVolume::getVoxel(const Vector3DInt32& v3dPos, WrapMode eWrapMode, VoxelType tBorder) const + VoxelType BaseVolume::getVoxel(const Vector3DInt32& /*v3dPos*/, WrapMode /*eWrapMode*/, VoxelType /*tBorder*/) const { POLYVOX_ASSERT(false, "You should never call the base class version of this function."); return VoxelType();