summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2023-10-16 11:56:02 +0200
committerGitHub <noreply@github.com>2023-10-16 11:56:02 +0200
commit018bb162e95ca72c6a71ef2320ebcb2d3cb2888f (patch)
treead46358d8fa9a0fc6603768fda788c24af8c52da
parent3a00875e1a4f12ec1cd79d3e5c18d42158a50a64 (diff)
parentcbee4b3586c2ae6e7e3ce301678e69f90222775b (diff)
Merge pull request #28934 from vespa-engine/toregge/remove-unused-local-variable
Remove unused local variable.
-rw-r--r--searchcore/src/vespa/searchcorespi/index/indexmaintainer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcorespi/index/indexmaintainer.cpp b/searchcore/src/vespa/searchcorespi/index/indexmaintainer.cpp
index 50bbbaec355..bbd17be9b5a 100644
--- a/searchcore/src/vespa/searchcorespi/index/indexmaintainer.cpp
+++ b/searchcore/src/vespa/searchcorespi/index/indexmaintainer.cpp
@@ -1362,7 +1362,6 @@ void
IndexMaintainer::consider_initial_urgent_flush()
{
const Schema *prev_schema = nullptr;
- std::optional<uint32_t> urgent_source_id;
auto coll = getSourceCollection();
uint32_t count = coll->getSourceCount();
for (uint32_t i = 0; i < count; ++i) {