diff --git a/arangod/Indexes/skiplist-helper.cpp b/arangod/Indexes/skiplist-helper.cpp index 43215d7106..1b900242e4 100644 --- a/arangod/Indexes/skiplist-helper.cpp +++ b/arangod/Indexes/skiplist-helper.cpp @@ -125,7 +125,7 @@ static int CmpElmElm (void* sli, SkiplistIndex* skiplistindex = static_cast(sli); if (leftElement == rightElement || - (!skiplistindex->skiplist->isArray() && leftElement->document() == rightElement->document())) { + (! skiplistindex->skiplist->isArray() && leftElement->document() == rightElement->document())) { return 0; } @@ -973,14 +973,6 @@ TRI_skiplist_iterator_t* SkiplistIndex_find (SkiplistIndex* skiplistIndex, return results; } -//////////////////////////////////////////////////////////////////////////////// -/// @brief returns the number of elements in the skip list index -//////////////////////////////////////////////////////////////////////////////// - -uint64_t SkiplistIndex_getNrUsed (SkiplistIndex* skiplistIndex) { - return skiplistIndex->skiplist->getNrUsed(); -} - //////////////////////////////////////////////////////////////////////////////// /// @brief returns the memory used by the index //////////////////////////////////////////////////////////////////////////////// diff --git a/arangod/Indexes/skiplist-helper.h b/arangod/Indexes/skiplist-helper.h index 83fa48a221..07c5453eaf 100644 --- a/arangod/Indexes/skiplist-helper.h +++ b/arangod/Indexes/skiplist-helper.h @@ -143,15 +143,6 @@ TRI_skiplist_iterator_t* SkiplistIndex_find (SkiplistIndex*, TRI_index_operator_t const*, bool); -bool SkiplistIndex_update (SkiplistIndex*, const TRI_index_element_t*, - const TRI_index_element_t*); - -//////////////////////////////////////////////////////////////////////////////// -/// @brief return the number of elements in the index -//////////////////////////////////////////////////////////////////////////////// - -uint64_t SkiplistIndex_getNrUsed (SkiplistIndex*); - //////////////////////////////////////////////////////////////////////////////// /// @brief return the memory used by the index ////////////////////////////////////////////////////////////////////////////////