From 445eaaf82a02f3bdb227f811dd442c9c4eeda690 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ante=20Pu=C5=A1i=C4=87?= Date: Mon, 5 Feb 2024 09:39:53 +0100 Subject: [PATCH] Remove unused variables --- src/storage/v2/durability/durability.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/storage/v2/durability/durability.cpp b/src/storage/v2/durability/durability.cpp index a5c14286a..724b3142d 100644 --- a/src/storage/v2/durability/durability.cpp +++ b/src/storage/v2/durability/durability.cpp @@ -202,9 +202,6 @@ void RecoverIndicesAndStats(const RecoveredIndicesAndConstraints::IndicesMetadat spdlog::info("Recreating {} text indices from metadata.", indices_metadata.text.size()); auto *mem_text_index = static_cast(indices->text_index_.get()); for (const auto &item : indices_metadata.text) { - const auto index_name = item.first; - const auto label_id = item.second; - if (!mem_text_index->RecoverIndex(item.first, item.second, vertices->access(), name_id_mapper)) throw RecoveryFailure("The text index must be created here!"); spdlog::info("Text index {} on :{} is recreated from metadata", item.first,