1
0
Fork 0

fixed compile warning with g++4.9.2

This commit is contained in:
Jan Steemann 2015-04-24 12:48:50 +02:00
parent 25c6745d13
commit 745d80d999
1 changed files with 0 additions and 3 deletions

View File

@ -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);