diff --git a/routing/online_absent_fetcher.cpp b/routing/online_absent_fetcher.cpp index 9186a239c6..1bc624b7f1 100644 --- a/routing/online_absent_fetcher.cpp +++ b/routing/online_absent_fetcher.cpp @@ -37,8 +37,9 @@ void OnlineAbsentCountriesFetcher::GetAbsentCountries(vector & countries m_fetcherThread->Join(); for (auto const & point : m_fetcherThread->GetRoutineAs()->GetMwmPoints()) { - string name = m_countryFileFn(point); - if (m_countryLocalFileFn(name)) + string const name = m_countryFileFn(point); + ASSERT(!name.empty(), ()); + if (name.empty() || m_countryLocalFileFn(name)) continue; LOG(LINFO, ("Needs: ", name));