Removed CHECK(query != nullptr);

This commit is contained in:
Andrea Cavalli 2020-05-17 00:31:34 +02:00
parent 0bf735c1b1
commit 2a5904b03e

View File

@ -3658,9 +3658,7 @@ std::pair<FileManager::Query, bool> FileManager::finish_query(QueryId query_id)
queries_container_.erase(query_id);
};
auto query = queries_container_.get(query_id);
if (query == nullptr) {
return;
}
CHECK(query != nullptr);
auto res = *query;
auto node = get_file_node(res.file_id_);