diff options
author | vng <viktor.govako@gmail.com> | 2014-10-09 19:34:49 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:29:59 +0300 |
commit | 9fbe5893b096db31e90039209d9ea0c5d21c9526 (patch) | |
tree | e6fbf3a0ee39cfc6dd4cfb1b9e8cfbaf36aaf527 /coding/zip_creator.cpp | |
parent | af9ca3036112619648ab57fdc177e63066954c8d (diff) |
[storage] CountryTree now initialized in Framework::AddMaps. It’s correct way for Android, when active maps set can be changed.
Diffstat (limited to 'coding/zip_creator.cpp')
-rw-r--r-- | coding/zip_creator.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/coding/zip_creator.cpp b/coding/zip_creator.cpp index 20a2af6e14..15d8a9dec5 100644 --- a/coding/zip_creator.cpp +++ b/coding/zip_creator.cpp @@ -66,8 +66,7 @@ bool CreateZipFromPathDeflatedAndDefaultCompression(string const & filePath, str if (!zip.Handle()) return false; - // Special syntax to initialize struct with zeroes - zip_fileinfo zipInfo = zip_fileinfo(); + zip_fileinfo zipInfo = {}; CreateTMZip(zipInfo.tmz_date); string fileName = filePath; |