diff --git a/map/framework.cpp b/map/framework.cpp index 5ae05a2de5..44b6cb1099 100644 --- a/map/framework.cpp +++ b/map/framework.cpp @@ -1442,8 +1442,7 @@ void Framework::InitUGC() m_ugcApi = make_unique(m_model.GetDataSource(), [this](size_t numberOfUnsynchronized) { bool ugcStorageValidationExecuted = false; - if (!settings::Get("WasUgcStorageValidationExecuted", ugcStorageValidationExecuted)) - ugcStorageValidationExecuted = false; + UNUSED_VALUE(settings::Get("WasUgcStorageValidationExecuted", ugcStorageValidationExecuted)); if (!ugcStorageValidationExecuted) {