summaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/metatype.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/options/metatype.cpp b/options/metatype.cpp
index 4db0b3fd..64df3b1a 100644
--- a/options/metatype.cpp
+++ b/options/metatype.cpp
@@ -14,6 +14,7 @@ void declare_metatype_for_type(const char* str)
#define OPENTRACK_DEFINE_METATYPE2(t, ctr) \
namespace { /* NOLINT(cert-dcl59-cpp) */ \
+ [[maybe_unused]] \
static const char ctr = /* NOLINT(misc-definitions-in-headers) */ \
(::options::detail::declare_metatype_for_type<t>(#t), 0); \
} // anon ns