From cbe38af4270d9021207358b66925b46f22b4c4a2 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 31 Aug 2021 12:45:31 +0300 Subject: [PATCH] Beta version 2.9.13: Mark 'isPrefix' as '[[maybe_unused]]'. --- Telegram/SourceFiles/countries/countries_instance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/countries/countries_instance.cpp b/Telegram/SourceFiles/countries/countries_instance.cpp index f4a7df815..36967370b 100644 --- a/Telegram/SourceFiles/countries/countries_instance.cpp +++ b/Telegram/SourceFiles/countries/countries_instance.cpp @@ -319,7 +319,7 @@ FormatResult CountriesInstance::format(FormatArgs args) { const Info *bestCountryPtr = nullptr; const CallingCodeInfo *bestCallingCodePtr = nullptr; auto bestLength = size_t(0); - auto isPrefix = false; + [[maybe_unused]] auto isPrefix = false; for (const auto &country : list()) { for (auto &callingCode : country.codes) { if (phoneNumber.startsWith(callingCode.callingCode)) {