diff --git a/generator/osm_source.cpp b/generator/osm_source.cpp index 96e5880846..0620773362 100644 --- a/generator/osm_source.cpp +++ b/generator/osm_source.cpp @@ -598,8 +598,6 @@ void ProcessOsmElementsFromXML(SourceReader & stream, function void BuildIntermediateDataFromO5M(SourceReader & stream, TCache & cache, TownsDumper & towns) { - using TType = osm::O5MSource::EntityType; - osm::O5MSource dataset([&stream](uint8_t * buffer, size_t size) { return stream.Read(reinterpret_cast(buffer), size); diff --git a/routing/cross_mwm_index_graph.cpp b/routing/cross_mwm_index_graph.cpp index 9d14be90ba..7952f4f7ba 100644 --- a/routing/cross_mwm_index_graph.cpp +++ b/routing/cross_mwm_index_graph.cpp @@ -166,6 +166,7 @@ void CrossMwmIndexGraph::InsertWholeMwmTransitionSegments(NumMwmId numMwmId) node.m_point, transitionSegments.m_ingoing); }); auto const p = m_transitionCache.emplace(numMwmId, move(transitionSegments)); + UNUSED_VALUE(p); ASSERT(p.second, ("Mwm num id:", numMwmId, "has been inserted before. Country file name:", mapping->GetCountryName())); }; diff --git a/search/feature_offset_match.hpp b/search/feature_offset_match.hpp index f05cf5eff9..53dacff6ca 100644 --- a/search/feature_offset_match.hpp +++ b/search/feature_offset_match.hpp @@ -281,8 +281,6 @@ void MatchFeaturesInTrie(SearchTrieRequest const & request, trie::Iterator> const & trieRoot, Filter const & filter, ToDo && toDo) { - using Iterator = trie::Iterator>; - TrieValuesHolder categoriesHolder(filter); bool const categoriesMatched = MatchCategoriesInTrie(request, trieRoot, categoriesHolder);