Fix warnings.
GitOrigin-RevId: 25c5aaaf29fd1284427f354291a6e664847413ea
This commit is contained in:
parent
05253ca35e
commit
2f850bc834
@ -3536,6 +3536,9 @@ void ContactsManager::ChannelFull::parse(ParserT &parser) {
|
||||
if (has_stats_dc_id) {
|
||||
stats_dc_id = DcId::create(parser.fetch_int());
|
||||
}
|
||||
if (legacy_can_view_statistics) {
|
||||
LOG(DEBUG) << "Ignore legacy can view statistics flag";
|
||||
}
|
||||
}
|
||||
|
||||
template <class StorerT>
|
||||
|
@ -31,7 +31,7 @@ static void test_gzencode(td::string s) {
|
||||
auto r = td::gzencode(s, td::max(2, static_cast<int>(100 / s.size())));
|
||||
ASSERT_TRUE(!r.empty());
|
||||
LOG(INFO) << "Encoded string of size " << s.size() << " in " << (td::Time::now() - begin_time)
|
||||
<< " with compression ratio " << r.size() * 1.0 / s.size();
|
||||
<< " with compression ratio " << static_cast<double>(r.size()) / static_cast<double>(s.size());
|
||||
}
|
||||
|
||||
TEST(Gzip, gzencode) {
|
||||
|
Reference in New Issue
Block a user