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/drivers/storage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/storage.cpp') diff --git a/src/drivers/storage.cpp b/src/drivers/storage.cpp index 0492b5dc..cb1407a6 100644 --- a/src/drivers/storage.cpp +++ b/src/drivers/storage.cpp @@ -26,7 +26,7 @@ #include "gpios.hpp" #include "memory_resource.hpp" -static const char* kTag = "SDSTORAGE"; +[[maybe_unused]] static const char* kTag = "SDSTORAGE"; static const uint8_t kMaxOpenFiles = 8; namespace drivers { -- cgit v1.2.3