summaryrefslogtreecommitdiffstats
path: root/searchsummary
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-02-08 13:08:21 +0100
committerTor Egge <Tor.Egge@broadpark.no>2019-02-08 13:12:28 +0100
commit82dade5bd832facf76736c4c178096fbc3279733 (patch)
tree3963dc18269a8ec28e6171a26552a615e9de9c3c /searchsummary
parent742547d7f6c66a077a6dae989769a98c98dce417 (diff)
Eliminate clang warning in searchsummary
Diffstat (limited to 'searchsummary')
-rw-r--r--searchsummary/src/vespa/searchsummary/docsummary/dynamicteaserdfw.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/dynamicteaserdfw.cpp b/searchsummary/src/vespa/searchsummary/docsummary/dynamicteaserdfw.cpp
index a95c8667b7d..43eaf4b57b8 100644
--- a/searchsummary/src/vespa/searchsummary/docsummary/dynamicteaserdfw.cpp
+++ b/searchsummary/src/vespa/searchsummary/docsummary/dynamicteaserdfw.cpp
@@ -109,14 +109,13 @@ private:
KeywordExtractor *_kwExtractor;
const vespalib::stringref _buf;
const search::fef::Properties *_highlightTerms;
- juniper::IQueryVisitor *_visitor;
public:
JuniperQueryAdapter(const JuniperQueryAdapter&) = delete;
JuniperQueryAdapter operator= (const JuniperQueryAdapter&) = delete;
JuniperQueryAdapter(KeywordExtractor *kwExtractor, vespalib::stringref buf,
const search::fef::Properties *highlightTerms = nullptr)
- : _kwExtractor(kwExtractor), _buf(buf), _highlightTerms(highlightTerms), _visitor(nullptr) {}
+ : _kwExtractor(kwExtractor), _buf(buf), _highlightTerms(highlightTerms) {}
// TODO: put this functionality into the stack dump iterator
bool SkipItem(search::SimpleQueryStackDumpIterator *iterator) const