diff options
Diffstat (limited to 'src/filter')
-rw-r--r-- | src/filter/Observer.cxx | 2 | ||||
-rw-r--r-- | src/filter/plugins/NormalizeFilterPlugin.cxx | 2 | ||||
-rw-r--r-- | src/filter/plugins/NullFilterPlugin.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/filter/Observer.cxx b/src/filter/Observer.cxx index e052272eb..73a6e758e 100644 --- a/src/filter/Observer.cxx +++ b/src/filter/Observer.cxx @@ -43,7 +43,7 @@ public: observer.proxy = nullptr; } - void Clear(gcc_unused Proxy *_child) noexcept { + void Clear([[maybe_unused]] Proxy *_child) noexcept { assert(child == _child); child = nullptr; } diff --git a/src/filter/plugins/NormalizeFilterPlugin.cxx b/src/filter/plugins/NormalizeFilterPlugin.cxx index b4e0b444b..4d3e936ee 100644 --- a/src/filter/plugins/NormalizeFilterPlugin.cxx +++ b/src/filter/plugins/NormalizeFilterPlugin.cxx @@ -53,7 +53,7 @@ public: }; static std::unique_ptr<PreparedFilter> -normalize_filter_init(gcc_unused const ConfigBlock &block) +normalize_filter_init([[maybe_unused]] const ConfigBlock &block) { return std::make_unique<PreparedNormalizeFilter>(); } diff --git a/src/filter/plugins/NullFilterPlugin.cxx b/src/filter/plugins/NullFilterPlugin.cxx index 115124179..143c104ab 100644 --- a/src/filter/plugins/NullFilterPlugin.cxx +++ b/src/filter/plugins/NullFilterPlugin.cxx @@ -38,7 +38,7 @@ public: }; static std::unique_ptr<PreparedFilter> -null_filter_init(gcc_unused const ConfigBlock &block) +null_filter_init([[maybe_unused]] const ConfigBlock &block) { return std::make_unique<PreparedNullFilter>(); } |