Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ibrahim Jarif committed May 14, 2020
1 parent 875c79b commit 7a78e21
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions iterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,6 @@ func (it *Iterator) newItem() *Item {
// Item returns pointer to the current key-value pair.
// This item is only valid until it.Next() gets called.
func (it *Iterator) Item() *Item {
// tx := it.txn
// tx.addReadKey(it.item.Key())
return it.item
}

Expand Down

0 comments on commit 7a78e21

Please sign in to comment.