diff options
author | Kemal Zebari <kemalzebra@gmail.com> | 2023-03-26 15:48:51 -0700 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-03-27 10:39:17 +0100 |
commit | c5542ea2c9a28fcf3fa2382d3a4e39fb73db0210 (patch) | |
tree | 80643722c8a775c3a23421b64ab5baba726fc3c2 /Userland/Applications | |
parent | 039d5edc6f7c852ab9da39bc581f55ef11f1790c (diff) | |
download | serenity-c5542ea2c9a28fcf3fa2382d3a4e39fb73db0210.zip |
Browser: Remove unused variables in `BookmarksBarWidget`
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/Browser/BookmarksBarWidget.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Applications/Browser/BookmarksBarWidget.cpp b/Userland/Applications/Browser/BookmarksBarWidget.cpp index 92ea30d5ec..f0aeae3014 100644 --- a/Userland/Applications/Browser/BookmarksBarWidget.cpp +++ b/Userland/Applications/Browser/BookmarksBarWidget.cpp @@ -275,7 +275,6 @@ bool BookmarksBarWidget::contains_bookmark(DeprecatedString const& url) { for (int item_index = 0; item_index < model()->row_count(); ++item_index) { - auto item_title = model()->index(item_index, 0).data().to_deprecated_string(); auto item_url = model()->index(item_index, 1).data().to_deprecated_string(); if (item_url == url) { return true; @@ -288,7 +287,6 @@ bool BookmarksBarWidget::remove_bookmark(DeprecatedString const& url) { for (int item_index = 0; item_index < model()->row_count(); ++item_index) { - auto item_title = model()->index(item_index, 0).data().to_deprecated_string(); auto item_url = model()->index(item_index, 1).data().to_deprecated_string(); if (item_url == url) { auto& json_model = *static_cast<GUI::JsonArrayModel*>(model()); |