Add missing semicolons after CHECK.
This commit is contained in:
parent
1aa1185185
commit
5a59c933fb
@ -128,8 +128,8 @@ size_t RSA::size() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool RSA::encrypt(Slice from, MutableSlice to) const {
|
bool RSA::encrypt(Slice from, MutableSlice to) const {
|
||||||
CHECK(from.size() == 256)
|
CHECK(from.size() == 256);
|
||||||
CHECK(to.size() == 256)
|
CHECK(to.size() == 256);
|
||||||
int bits = n_.get_num_bits();
|
int bits = n_.get_num_bits();
|
||||||
CHECK(bits >= 2041 && bits <= 2048);
|
CHECK(bits >= 2041 && bits <= 2048);
|
||||||
|
|
||||||
|
@ -338,7 +338,7 @@ class TlsHelloStore {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Type::Grease: {
|
case Type::Grease: {
|
||||||
CHECK(context)
|
CHECK(context);
|
||||||
auto grease = context->get_grease(op.seed);
|
auto grease = context->get_grease(op.seed);
|
||||||
dest_[0] = grease;
|
dest_[0] = grease;
|
||||||
dest_[1] = grease;
|
dest_[1] = grease;
|
||||||
|
@ -558,7 +558,7 @@ const CountryInfoManager::CountryList *CountryInfoManager::get_country_list(Coun
|
|||||||
on_get_country_list_impl(language_code, std::move(result));
|
on_get_country_list_impl(language_code, std::move(result));
|
||||||
|
|
||||||
it = countries_.find(language_code);
|
it = countries_.find(language_code);
|
||||||
CHECK(it != countries_.end())
|
CHECK(it != countries_.end());
|
||||||
auto *country = it->second.get();
|
auto *country = it->second.get();
|
||||||
if (manager != nullptr) {
|
if (manager != nullptr) {
|
||||||
manager->load_country_list(language_code, country->hash, Auto());
|
manager->load_country_list(language_code, country->hash, Auto());
|
||||||
|
@ -21,7 +21,7 @@ DialogInviteLink::DialogInviteLink(tl_object_ptr<telegram_api::ExportedChatInvit
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (exported_invite_ptr->get_id() != telegram_api::chatInviteExported::ID) {
|
if (exported_invite_ptr->get_id() != telegram_api::chatInviteExported::ID) {
|
||||||
CHECK(exported_invite_ptr->get_id() == telegram_api::chatInvitePublicJoinRequests::ID)
|
CHECK(exported_invite_ptr->get_id() == telegram_api::chatInvitePublicJoinRequests::ID);
|
||||||
Slice slice(source);
|
Slice slice(source);
|
||||||
if (slice != "channelAdminLogEventActionParticipantJoinByRequest" && slice != "updateChatParticipant" &&
|
if (slice != "channelAdminLogEventActionParticipantJoinByRequest" && slice != "updateChatParticipant" &&
|
||||||
slice != "updateChannelParticipant" && slice != "updateBotChatInviteRequester") {
|
slice != "updateChannelParticipant" && slice != "updateBotChatInviteRequester") {
|
||||||
|
@ -183,7 +183,7 @@ void Td::ResultHandler::set_td(Td *td) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Td::ResultHandler::send_query(NetQueryPtr query) {
|
void Td::ResultHandler::send_query(NetQueryPtr query) {
|
||||||
CHECK(!is_query_sent_)
|
CHECK(!is_query_sent_);
|
||||||
is_query_sent_ = true;
|
is_query_sent_ = true;
|
||||||
td_->add_handler(query->id(), shared_from_this());
|
td_->add_handler(query->id(), shared_from_this());
|
||||||
query->debug("Send to NetQueryDispatcher");
|
query->debug("Send to NetQueryDispatcher");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user