1
0
Fork 0

removed unused variable

This commit is contained in:
Jan Steemann 2014-11-13 14:24:59 +01:00
parent 2622f57e07
commit 896e8daec5
1 changed files with 0 additions and 3 deletions

View File

@ -1761,9 +1761,6 @@ int triagens::aql::removeFiltersCoveredByIndex (Optimizer* opt,
while (current != nullptr) {
if (current->getType() == EN::INDEX_RANGE) {
// found an index range, now check if the expression is covered by the index
auto variable = static_cast<IndexRangeNode const*>(current)->outVariable();
TRI_ASSERT(variable != nullptr);
auto const& ranges = static_cast<IndexRangeNode const*>(current)->ranges();
// TODO: this is not prepared for OR conditions