1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +00: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:
Jelle Raaijmakers 2023-04-19 18:58:56 +02:00 committed by Tim Flynn
parent 036eb82aca
commit 8992ff5aeb
5 changed files with 2 additions and 15 deletions

View file

@ -68,7 +68,6 @@ public:
[[nodiscard]] auto const& value() const
{
VERIFY(m_value.has_value());
return *m_value;
}