diff --git a/storage/storage.cpp b/storage/storage.cpp index 10247ebdd7..6e8d895dec 100644 --- a/storage/storage.cpp +++ b/storage/storage.cpp @@ -585,7 +585,7 @@ void Storage::DownloadNextCountryFromQueue() } QueuedCountry & queuedCountry = m_queue.front(); - TCountryId const & countryId = queuedCountry.GetCountryId(); + TCountryId const countryId = queuedCountry.GetCountryId(); // It's not even possible to prepare directory for files before // downloading. Mark this country as failed and switch to next