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/audio/audio_decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audio/audio_decoder.cpp') diff --git a/src/audio/audio_decoder.cpp b/src/audio/audio_decoder.cpp index 78b0d3f5..03402cfc 100644 --- a/src/audio/audio_decoder.cpp +++ b/src/audio/audio_decoder.cpp @@ -45,7 +45,7 @@ namespace audio { -static const char* kTag = "audio_dec"; +[[maybe_unused]] static const char* kTag = "audio_dec"; static constexpr std::size_t kCodecBufferLength = drivers::kI2SBufferLengthFrames * sizeof(sample::Sample) * 2; -- cgit v1.2.3