diff --git a/src/python/magnum/trade.cpp b/src/python/magnum/trade.cpp index 9d68938..ff976e8 100644 --- a/src/python/magnum/trade.cpp +++ b/src/python/magnum/trade.cpp @@ -432,13 +432,15 @@ Containers::Triple(item) = py::cast(object); \ }}; + /* LCOV_EXCL_START */ _c(UnsignedByte, "B") _c(UnsignedShort, "H") _c(UnsignedInt, "I") + /* LCOV_EXCL_STOP */ #undef _c } - return {}; + CORRADE_INTERNAL_ASSERT_UNREACHABLE(); /* LCOV_EXCL_LINE */ } Containers::Triple accessorsForVertexFormat(const VertexFormat format) { @@ -463,6 +465,7 @@ Containers::Triple(item) = format(py::cast(object)); \ }}; + /* LCOV_EXCL_START */ _c(Float, "f") _c(Double, "d") _cc(UnsignedByte, UnsignedInt, "B") @@ -498,6 +501,7 @@ Containers::Triple Containers::PyArrayViewHolder> meshIndicesView(Trade::MeshData& mesh, const Containers::StridedArrayView2D& data) {