mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibSQL: Remove and update VERIFYs
We are performing a lot of checks on pointers that are performed again immediately afterwards because of a dereference. This removes the redundant `VERIFY`s and simplifies a couple others.
This commit is contained in:
committed by
Tim Flynn
parent
036eb82aca
commit
8992ff5aeb
Notes:
sideshowbarker
2024-07-17 02:59:43 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/8992ff5aeb Pull-request: https://github.com/SerenityOS/serenity/pull/18476 Reviewed-by: https://github.com/trflynn89 ✅
@@ -68,7 +68,6 @@ public:
|
||||
|
||||
[[nodiscard]] auto const& value() const
|
||||
{
|
||||
VERIFY(m_value.has_value());
|
||||
return *m_value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user