diff --git a/src/threepp/core/BufferGeometry.cpp b/src/threepp/core/BufferGeometry.cpp index cbd655d6..a2401869 100644 --- a/src/threepp/core/BufferGeometry.cpp +++ b/src/threepp/core/BufferGeometry.cpp @@ -38,11 +38,9 @@ namespace { } return FloatBufferAttribute::create(array2, itemSize, normalized); - - } else { - - throw std::runtime_error("Unsupported operation"); } + + throw std::runtime_error("Unsupported operation"); } }// namespace