mirror of https://gitee.com/bigwinds/arangodb
fixed compile warning with g++4.9.2
This commit is contained in:
parent
25c6745d13
commit
745d80d999
|
@ -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<TRI_document_collection_t const*>& docColls(cur->getDocumentCollections());
|
||||
|
||||
IndexOrCondition* newCondition = nullptr;
|
||||
|
||||
|
@ -2692,8 +2691,6 @@ void CalculationBlock::fillBlockWithReference (AqlItemBlock* result) {
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void CalculationBlock::executeExpression (AqlItemBlock* result) {
|
||||
std::vector<TRI_document_collection_t const*>& docColls(result->getDocumentCollections());
|
||||
|
||||
result->setDocumentCollection(_outReg, nullptr);
|
||||
|
||||
bool const hasCondition = (static_cast<CalculationNode const*>(_exeNode)->_conditionVariable != nullptr);
|
||||
|
|
Loading…
Reference in New Issue