From c3082ac355280d9f901e782c27471392bcf285a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 25 May 2020 09:56:08 +0200 Subject: [PATCH] MeshTools: expand coverage exclude marker over all affected lines. --- src/Magnum/MeshTools/Compile.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Magnum/MeshTools/Compile.cpp b/src/Magnum/MeshTools/Compile.cpp index 458a91c2c..b7592a55b 100644 --- a/src/Magnum/MeshTools/Compile.cpp +++ b/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) {