diff --git a/td/telegram/files/FileManager.cpp b/td/telegram/files/FileManager.cpp index f5dbe297a..0e52c3250 100644 --- a/td/telegram/files/FileManager.cpp +++ b/td/telegram/files/FileManager.cpp @@ -4075,9 +4075,6 @@ void FileManager::memory_cleanup() { { auto map = remote_location_info_.get_map(); - auto mapSize = map.size(); - auto mapMaxSize = map.max_size(); - auto it = map.begin(); while (it != map.end()) { old_remote_info[it->second] = it->first;