mirror of https://gitee.com/bigwinds/arangodb
removed unused variable
This commit is contained in:
parent
2622f57e07
commit
896e8daec5
|
@ -1761,9 +1761,6 @@ int triagens::aql::removeFiltersCoveredByIndex (Optimizer* opt,
|
||||||
while (current != nullptr) {
|
while (current != nullptr) {
|
||||||
if (current->getType() == EN::INDEX_RANGE) {
|
if (current->getType() == EN::INDEX_RANGE) {
|
||||||
// found an index range, now check if the expression is covered by the index
|
// 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();
|
auto const& ranges = static_cast<IndexRangeNode const*>(current)->ranges();
|
||||||
|
|
||||||
// TODO: this is not prepared for OR conditions
|
// TODO: this is not prepared for OR conditions
|
||||||
|
|
Loading…
Reference in New Issue