summaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-03-01 05:41:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-03-01 05:41:08 +0100
commit4928e8e50cf579129c5cb1ef4b679a881fb59a62 (patch)
tree5f03909691cd15c601873545d8fb514cb1de0b97 /options
parent270878c74bb4c72e8ceab42b3758329f1edae6c2 (diff)
options/metatype: mark static as unused
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