mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 06:37:24 +02:00
Beta version 2.9.13: Mark 'isPrefix' as '[[maybe_unused]]'.
This commit is contained in:
parent
4598ce2671
commit
cbe38af427
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue