From 745d80d9994e610c33e346efc2231eb8efd8bfdf Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Fri, 24 Apr 2015 12:48:50 +0200 Subject: [PATCH] fixed compile warning with g++4.9.2 --- arangod/Aql/ExecutionBlock.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/arangod/Aql/ExecutionBlock.cpp b/arangod/Aql/ExecutionBlock.cpp index da34ca8f73..65fcc03020 100644 --- a/arangod/Aql/ExecutionBlock.cpp +++ b/arangod/Aql/ExecutionBlock.cpp @@ -1080,7 +1080,6 @@ void IndexRangeBlock::buildExpressions () { // The following are needed to evaluate expressions with local data from // the current incoming item: AqlItemBlock* cur = _buffer.front(); - vector& docColls(cur->getDocumentCollections()); IndexOrCondition* newCondition = nullptr; @@ -2692,8 +2691,6 @@ void CalculationBlock::fillBlockWithReference (AqlItemBlock* result) { //////////////////////////////////////////////////////////////////////////////// void CalculationBlock::executeExpression (AqlItemBlock* result) { - std::vector& docColls(result->getDocumentCollections()); - result->setDocumentCollection(_outReg, nullptr); bool const hasCondition = (static_cast(_exeNode)->_conditionVariable != nullptr);