Browse Source

MeshTools: expand coverage exclude marker over all affected lines.

pull/449/head
Vladimír Vondruš 6 years ago
parent
commit
c3082ac355
  1. 4
      src/Magnum/MeshTools/Compile.cpp

4
src/Magnum/MeshTools/Compile.cpp

@ -116,11 +116,13 @@ GL::Mesh compileInternal(const Trade::MeshData& meshData, GL::Buffer&& indices,
/* To avoid the compiler warning that we didn't handle an enum
value. For these a runtime warning is printed below. */
/* LCOV_EXCL_START */
#ifdef MAGNUM_TARGET_GLES2
case Trade::MeshAttribute::ObjectId:
#endif
case Trade::MeshAttribute::Custom:
break; /* LCOV_EXCL_LINE */
break;
/* LCOV_EXCL_STOP */
}
if(!attribute) {

Loading…
Cancel
Save