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 /* To avoid the compiler warning that we didn't handle an enum
value. For these a runtime warning is printed below. */ value. For these a runtime warning is printed below. */
/* LCOV_EXCL_START */
#ifdef MAGNUM_TARGET_GLES2 #ifdef MAGNUM_TARGET_GLES2
case Trade::MeshAttribute::ObjectId: case Trade::MeshAttribute::ObjectId:
#endif #endif
case Trade::MeshAttribute::Custom: case Trade::MeshAttribute::Custom:
break; /* LCOV_EXCL_LINE */ break;
/* LCOV_EXCL_STOP */
} }
if(!attribute) { if(!attribute) {

Loading…
Cancel
Save