diff --git a/arangod/RocksDBEngine/RocksDBPrimaryIndex.cpp b/arangod/RocksDBEngine/RocksDBPrimaryIndex.cpp index df9ada069c..867383f0d9 100644 --- a/arangod/RocksDBEngine/RocksDBPrimaryIndex.cpp +++ b/arangod/RocksDBEngine/RocksDBPrimaryIndex.cpp @@ -116,7 +116,6 @@ RocksDBAllIndexIterator::RocksDBAllIndexIterator( LogicalCollection* collection, transaction::Methods* trx, ManagedDocumentResult* mmdr, RocksDBPrimaryIndex const* index, bool reverse) : IndexIterator(collection, trx, mmdr, index), - _cmp(index->_cmp), _reverse(reverse), _bounds(RocksDBKeyBounds::PrimaryIndex(index->objectId())) { // acquire rocksdb transaction diff --git a/arangod/RocksDBEngine/RocksDBPrimaryIndex.h b/arangod/RocksDBEngine/RocksDBPrimaryIndex.h index ed1478a4e2..b284dccbdb 100644 --- a/arangod/RocksDBEngine/RocksDBPrimaryIndex.h +++ b/arangod/RocksDBEngine/RocksDBPrimaryIndex.h @@ -93,7 +93,6 @@ class RocksDBAllIndexIterator final : public IndexIterator { void seek(StringRef const& key); private: - RocksDBComparator const* _cmp; bool const _reverse; std::unique_ptr _iterator; RocksDBKeyBounds _bounds;