From 18d90051c9145ead86d4da701a2bc54f45e4fb66 Mon Sep 17 00:00:00 2001 From: Robin Howard Date: Sat, 28 Oct 2023 13:25:50 +1100 Subject: Annotates the kTag with maybe_unused; they're only used for logging. --- src/ui/encoder_input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/encoder_input.cpp') diff --git a/src/ui/encoder_input.cpp b/src/ui/encoder_input.cpp index f6a981a7..b27c2862 100644 --- a/src/ui/encoder_input.cpp +++ b/src/ui/encoder_input.cpp @@ -23,7 +23,7 @@ #include "touchwheel.hpp" #include "ui_events.hpp" -static constexpr char kTag[] = "input"; +[[maybe_unused]] static constexpr char kTag[] = "input"; constexpr int kDPadAngleThreshold = 20; constexpr int kLongPressDelayMs = 500; -- cgit v1.2.3