From 4864c1bd735745c354ad53b90c3aa6e731f95cca Mon Sep 17 00:00:00 2001 From: Arsentiy Milchakov Date: Wed, 27 Feb 2019 14:55:19 +0300 Subject: [PATCH] [ugc] review fixes --- map/framework.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) {