Fixed many errors in background processing synchronization and update.

Fixed couple of compiler warnings.
This commit is contained in:
bubnikv committed 2018-12-22 10:02:42 +01:00
1 parent 2cdf60972f
commit 126035f6f8
9 files changed
+101 -92

No files matched your search

+1 -1
View File
@@ -256,7 +256,7 @@ void PresetUpdater::priv::sync_config(const std::set<VendorProfile> vendors)
Index new_index;
try {
new_index.load(idx_path_temp);
} catch (const std::exception &err) {
} catch (const std::exception & /* err */) {
BOOST_LOG_TRIVIAL(error) << boost::format("Failed loading a downloaded index %1% for vendor %2%: invalid index?") % idx_path_temp % vendor.name;
continue;
}