mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 18:17:23 +00:00
LibSQL: Clean up code style and remove unused includes
No functional changes.
This commit is contained in:
parent
8992ff5aeb
commit
a99c1297e0
Notes:
sideshowbarker
2024-07-17 07:25:39 +09:00
Author: https://github.com/gmta
Commit: a99c1297e0
Pull-request: https://github.com/SerenityOS/serenity/pull/18476
Reviewed-by: https://github.com/trflynn89 ✅
14 changed files with 43 additions and 96 deletions
|
@ -208,9 +208,8 @@ void insert_into_and_scan_btree(int num_keys)
|
|||
SQL::Tuple prev;
|
||||
for (auto iter = btree->begin(); !iter.is_end(); iter++, count++) {
|
||||
auto key = (*iter);
|
||||
if (prev.size()) {
|
||||
if (prev.size())
|
||||
EXPECT(prev < key);
|
||||
}
|
||||
auto key_value = key[0].to_int<i32>();
|
||||
for (auto ix = 0; ix < num_keys; ix++) {
|
||||
if (keys[ix] == key_value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue