Removed some unused variable warning.

This commit is contained in:
unknown 2012-11-02 15:23:24 +01:00
parent b92d3fbfc0
commit 57350a55d6
4 changed files with 13 additions and 13 deletions

View File

@ -42,7 +42,7 @@ namespace PolyVox
/// \sa VolumeResampler /// \sa VolumeResampler
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
BaseVolume<VoxelType>::BaseVolume(const BaseVolume<VoxelType>& rhs) BaseVolume<VoxelType>::BaseVolume(const BaseVolume<VoxelType>& /*rhs*/)
{ {
assert(false); // See function comment above. assert(false); // See function comment above.
} }
@ -63,7 +63,7 @@ namespace PolyVox
/// \sa VolumeResampler /// \sa VolumeResampler
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
BaseVolume<VoxelType>& BaseVolume<VoxelType>::operator=(const BaseVolume<VoxelType>& rhs) BaseVolume<VoxelType>& BaseVolume<VoxelType>::operator=(const BaseVolume<VoxelType>& /*rhs*/)
{ {
assert(false); // See function comment above. assert(false); // See function comment above.
} }
@ -160,7 +160,7 @@ namespace PolyVox
/// \return The voxel value /// \return The voxel value
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
VoxelType BaseVolume<VoxelType>::getVoxelAt(int32_t uXPos, int32_t uYPos, int32_t uZPos) const VoxelType BaseVolume<VoxelType>::getVoxelAt(int32_t /*uXPos*/, int32_t /*uYPos*/, int32_t /*uZPos*/) const
{ {
assert(false); assert(false);
return VoxelType(); return VoxelType();
@ -171,7 +171,7 @@ namespace PolyVox
/// \return The voxel value /// \return The voxel value
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
VoxelType BaseVolume<VoxelType>::getVoxelAt(const Vector3DInt32& v3dPos) const VoxelType BaseVolume<VoxelType>::getVoxelAt(const Vector3DInt32& /*v3dPos*/) const
{ {
assert(false); assert(false);
return VoxelType(); return VoxelType();
@ -181,7 +181,7 @@ namespace PolyVox
/// \param tBorder The value to use for voxels outside the volume. /// \param tBorder The value to use for voxels outside the volume.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
void BaseVolume<VoxelType>::setBorderValue(const VoxelType& tBorder) void BaseVolume<VoxelType>::setBorderValue(const VoxelType& /*tBorder*/)
{ {
assert(false); assert(false);
} }
@ -194,7 +194,7 @@ namespace PolyVox
/// \return whether the requested position is inside the volume /// \return whether the requested position is inside the volume
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
bool BaseVolume<VoxelType>::setVoxelAt(int32_t uXPos, int32_t uYPos, int32_t uZPos, VoxelType tValue) bool BaseVolume<VoxelType>::setVoxelAt(int32_t /*uXPos*/, int32_t /*uYPos*/, int32_t /*uZPos*/, VoxelType /*tValue*/)
{ {
assert(false); assert(false);
return false; return false;
@ -206,7 +206,7 @@ namespace PolyVox
/// \return whether the requested position is inside the volume /// \return whether the requested position is inside the volume
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
bool BaseVolume<VoxelType>::setVoxelAt(const Vector3DInt32& v3dPos, VoxelType tValue) bool BaseVolume<VoxelType>::setVoxelAt(const Vector3DInt32& /*v3dPos*/, VoxelType /*tValue*/)
{ {
assert(false); assert(false);
return false; return false;

View File

@ -83,7 +83,7 @@ namespace PolyVox
/// \sa VolumeResampler /// \sa VolumeResampler
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
LargeVolume<VoxelType>::LargeVolume(const LargeVolume<VoxelType>& rhs) LargeVolume<VoxelType>::LargeVolume(const LargeVolume<VoxelType>& /*rhs*/)
{ {
assert(false); // See function comment above. assert(false); // See function comment above.
} }
@ -106,7 +106,7 @@ namespace PolyVox
/// \sa VolumeResampler /// \sa VolumeResampler
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
LargeVolume<VoxelType>& LargeVolume<VoxelType>::operator=(const LargeVolume<VoxelType>& rhs) LargeVolume<VoxelType>& LargeVolume<VoxelType>::operator=(const LargeVolume<VoxelType>& /*rhs*/)
{ {
assert(false); // See function comment above. assert(false); // See function comment above.
} }

View File

@ -45,7 +45,7 @@ namespace PolyVox
/// \sa VolumeResampler /// \sa VolumeResampler
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
RawVolume<VoxelType>::RawVolume(const RawVolume<VoxelType>& rhs) RawVolume<VoxelType>::RawVolume(const RawVolume<VoxelType>& /*rhs*/)
{ {
assert(false); // See function comment above. assert(false); // See function comment above.
} }
@ -68,7 +68,7 @@ namespace PolyVox
/// \sa VolumeResampler /// \sa VolumeResampler
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
RawVolume<VoxelType>& RawVolume<VoxelType>::operator=(const RawVolume<VoxelType>& rhs) RawVolume<VoxelType>& RawVolume<VoxelType>::operator=(const RawVolume<VoxelType>& /*rhs*/)
{ {
assert(false); // See function comment above. assert(false); // See function comment above.
} }

View File

@ -44,7 +44,7 @@ namespace PolyVox
/// \sa VolumeResampler /// \sa VolumeResampler
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
SimpleVolume<VoxelType>::SimpleVolume(const SimpleVolume<VoxelType>& rhs) SimpleVolume<VoxelType>::SimpleVolume(const SimpleVolume<VoxelType>& /*rhs*/)
{ {
assert(false); // See function comment above. assert(false); // See function comment above.
} }
@ -67,7 +67,7 @@ namespace PolyVox
/// \sa VolumeResampler /// \sa VolumeResampler
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
template <typename VoxelType> template <typename VoxelType>
SimpleVolume<VoxelType>& SimpleVolume<VoxelType>::operator=(const SimpleVolume<VoxelType>& rhs) SimpleVolume<VoxelType>& SimpleVolume<VoxelType>::operator=(const SimpleVolume<VoxelType>& /*rhs*/)
{ {
assert(false); // See function comment above. assert(false); // See function comment above.
} }