diff --git a/library/PolyVoxCore/include/PolyVoxCore/BaseVolumeSampler.inl b/library/PolyVoxCore/include/PolyVoxCore/BaseVolumeSampler.inl index e8300ccf..1e67a020 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/BaseVolumeSampler.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/BaseVolumeSampler.inl @@ -376,7 +376,6 @@ namespace PolyVox { //Should never happen POLYVOX_THROW(std::invalid_argument, "Wrap mode parameter has an unrecognised value."); - return VoxelType(); } } } diff --git a/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.inl b/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.inl index 76d4049a..a00c744f 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.inl @@ -230,7 +230,6 @@ namespace PolyVox { //Should never happen POLYVOX_THROW(std::invalid_argument, "Wrap mode parameter has an unrecognised value."); - return VoxelType(); } } } diff --git a/library/PolyVoxCore/include/PolyVoxCore/RawVolume.inl b/library/PolyVoxCore/include/PolyVoxCore/RawVolume.inl index c6face08..dc6732e0 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/RawVolume.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/RawVolume.inl @@ -188,7 +188,6 @@ namespace PolyVox { //Should never happen POLYVOX_THROW(std::invalid_argument, "Wrap mode parameter has an unrecognised value."); - return VoxelType(); } } } diff --git a/library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.inl b/library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.inl index 573f3c83..decbcfce 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.inl +++ b/library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.inl @@ -188,7 +188,6 @@ namespace PolyVox { //Should never happen POLYVOX_THROW(std::invalid_argument, "Wrap mode parameter has an unrecognised value."); - return VoxelType(); } } }