summaryrefslogtreecommitdiffstats
path: root/searchsummary
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2022-08-25 13:48:40 +0200
committerTor Egge <Tor.Egge@online.no>2022-08-25 13:48:40 +0200
commit9e0fdf0572c2ba4a449279fc194d832ef0b7cd0e (patch)
tree7a65fc079a5122ea06d7d24ab0756357b717b861 /searchsummary
parent83a0fed65aae5fa177d123ae511f35c534dec119 (diff)
Remove outdated comment. Remove unused variable.
Diffstat (limited to 'searchsummary')
-rw-r--r--searchsummary/src/vespa/searchsummary/docsummary/matched_elements_filter_dfw.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/matched_elements_filter_dfw.cpp b/searchsummary/src/vespa/searchsummary/docsummary/matched_elements_filter_dfw.cpp
index 56bbfe2d040..9011ca036b4 100644
--- a/searchsummary/src/vespa/searchsummary/docsummary/matched_elements_filter_dfw.cpp
+++ b/searchsummary/src/vespa/searchsummary/docsummary/matched_elements_filter_dfw.cpp
@@ -89,8 +89,6 @@ MatchedElementsFilterDFW::insertField(uint32_t docid, const IDocsumStoreDocument
ResType type, vespalib::slime::Inserter& target)
{
assert(type == ResType::RES_JSONSTRING);
- Slime input_field;
- // Use the document instance if the input field is not in the docsum blob.
auto field_value = doc->get_field_value(_input_field_name);
if (field_value) {
filter_matching_elements_in_input_field_while_converting_to_slime(*field_value, get_matching_elements(docid, *state), target);