From d3ae1bd415f328ebd679828a79dca219856c1e39 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Tue, 25 Jan 2022 14:15:18 -0800 Subject: [PATCH] [Android] Fix unused variable warning Add [[maybe_unused]] attribute to ConsoleListener's m_use_color --- Source/Core/Common/Logging/ConsoleListener.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/Logging/ConsoleListener.h b/Source/Core/Common/Logging/ConsoleListener.h index 2c5e744751..3901f29580 100644 --- a/Source/Core/Common/Logging/ConsoleListener.h +++ b/Source/Core/Common/Logging/ConsoleListener.h @@ -14,5 +14,5 @@ public: void Log(Common::Log::LogLevel level, const char* text) override; private: - bool m_use_color = false; + [[maybe_unused]] bool m_use_color = false; };