summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSQL/BTreeIterator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibSQL/BTreeIterator.cpp')
-rw-r--r--Userland/Libraries/LibSQL/BTreeIterator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibSQL/BTreeIterator.cpp b/Userland/Libraries/LibSQL/BTreeIterator.cpp
index 548355e7c4..13ac641c87 100644
--- a/Userland/Libraries/LibSQL/BTreeIterator.cpp
+++ b/Userland/Libraries/LibSQL/BTreeIterator.cpp
@@ -133,9 +133,8 @@ BTreeIterator BTreeIterator::next() const
// end (which is really the beginning) of the tree.
BTreeIterator BTreeIterator::previous() const
{
- if (is_end()) {
+ if (is_end())
return end();
- }
auto node = m_current;
auto ix = m_index;