mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +00:00
LibRegex: Remove some else-after-returns
This commit is contained in:
parent
b674de6957
commit
a2563496f5
Notes:
sideshowbarker
2024-07-17 22:25:05 +09:00
Author: https://github.com/Hendiadyoin1
Commit: a2563496f5
Pull-request: https://github.com/SerenityOS/serenity/pull/11353
Reviewed-by: https://github.com/alimpfard ✅
Reviewed-by: https://github.com/trflynn89
4 changed files with 44 additions and 44 deletions
|
@ -121,9 +121,9 @@ public:
|
|||
[&](auto const&) {
|
||||
if (code_point <= 0x7f)
|
||||
return 1;
|
||||
else if (code_point <= 0x07ff)
|
||||
if (code_point <= 0x07ff)
|
||||
return 2;
|
||||
else if (code_point <= 0xffff)
|
||||
if (code_point <= 0xffff)
|
||||
return 3;
|
||||
return 4;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue