diff --git a/Telegram/SourceFiles/window/themes/window_theme_editor.cpp b/Telegram/SourceFiles/window/themes/window_theme_editor.cpp index e2cf864ca..3261ae3b7 100644 --- a/Telegram/SourceFiles/window/themes/window_theme_editor.cpp +++ b/Telegram/SourceFiles/window/themes/window_theme_editor.cpp @@ -164,6 +164,7 @@ bool isValidColorValue(QLatin1String value) { skipWhitespacesAndComments(data, end); if (data == end) break; + [[maybe_unused]] auto foundName = base::parse::readName(data, end); skipWhitespacesAndComments(data, end); if (data == end || *data != ':') { return "error";