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/system_fsm/booting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/system_fsm/booting.cpp') diff --git a/src/system_fsm/booting.cpp b/src/system_fsm/booting.cpp index 08a1c083..82d83836 100644 --- a/src/system_fsm/booting.cpp +++ b/src/system_fsm/booting.cpp @@ -38,7 +38,7 @@ namespace system_fsm { namespace states { -static const char kTag[] = "BOOT"; +[[maybe_unused]] static const char kTag[] = "BOOT"; static auto bt_event_cb(drivers::bluetooth::Event ev) -> void { if (ev == drivers::bluetooth::Event::kKnownDevicesChanged) { -- cgit v1.2.3