diff options
author | vng <viktor.govako@gmail.com> | 2012-06-21 07:59:53 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:40:06 +0300 |
commit | 345059e2e97096b07e3d7a43c2417faf05bea522 (patch) | |
tree | 5a6c138804848cd47a1ba6624fc3b27314e7320b /platform/http_request.cpp | |
parent | e6fe712ebe7a64b15b97bbaa7578aaea89e0803b (diff) |
[android] Delete country before update downloading. We can't share mwm file between map and downloader.
Diffstat (limited to 'platform/http_request.cpp')
-rw-r--r-- | platform/http_request.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/http_request.cpp b/platform/http_request.cpp index 53f383db39..e2ded9c01b 100644 --- a/platform/http_request.cpp +++ b/platform/http_request.cpp @@ -190,10 +190,10 @@ class FileHttpRequest : public HttpRequest, public IHttpThreadCallback // clean up resume file with chunks range on success if (m_status == ECompleted) { - my::DeleteFileX(m_filePath + RESUME_FILE_EXTENSION); + (void)my::DeleteFileX(m_filePath + RESUME_FILE_EXTENSION); // Rename finished file to it's original name. - my::DeleteFileX(m_filePath); + (void)my::DeleteFileX(m_filePath); CHECK(my::RenameFileX(m_filePath + DOWNLOADING_FILE_EXTENSION, m_filePath), ()); DisableBackupForFile(m_filePath); |