From 99772313d6f5994eec6ffe958c78f198dd870f11 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Sat, 14 Apr 2018 22:31:51 +0200 Subject: [PATCH] Specify that the variables in const.hpp are allowed to be unused --- src/const.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/const.hpp b/src/const.hpp index bfb155477..1db5a9370 100644 --- a/src/const.hpp +++ b/src/const.hpp @@ -4,12 +4,12 @@ namespace chatterino { -static const char *ANONYMOUS_USERNAME_LABEL = " - anonymous - "; +static const char *ANONYMOUS_USERNAME_LABEL __attribute__((unused)) = " - anonymous - "; namespace providers { namespace twitch { -static const char *ANONYMOUS_USERNAME = "justinfan64537"; +static const char *ANONYMOUS_USERNAME __attribute__((unused)) = "justinfan64537"; } // namespace twitch } // namespace providers