aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ObjectYAML/CovMap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/ObjectYAML/CovMap.cpp')
-rw-r--r--llvm/lib/ObjectYAML/CovMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ObjectYAML/CovMap.cpp b/llvm/lib/ObjectYAML/CovMap.cpp
index 5227e74..267ea022 100644
--- a/llvm/lib/ObjectYAML/CovMap.cpp
+++ b/llvm/lib/ObjectYAML/CovMap.cpp
@@ -374,7 +374,7 @@ Expected<uint64_t> CovMapTy::decode(const ArrayRef<uint8_t> Content,
#define COVMAP_HEADER(Type, LLVMType, Name, Initializer) \
static_assert(sizeof(Type) == sizeof(uint32_t)); \
- Type Name = Data.getU32();
+ [[maybe_unused]] Type Name = Data.getU32();
#include "llvm/ProfileData/InstrProfData.inc"
if (!Data)
return Data.takeError();