LibLocale: Remove "else" after "if" statements that always return
Mostly just to keep clangd quiet.
This commit is contained in:
parent
c35b1371a3
commit
970e9df245
Notes:
sideshowbarker
2024-07-17 08:37:36 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/970e9df245 Pull-request: https://github.com/SerenityOS/serenity/pull/17202
1 changed files with 3 additions and 3 deletions
|
@ -17,11 +17,11 @@ HourCycle hour_cycle_from_string(StringView hour_cycle)
|
|||
{
|
||||
if (hour_cycle == "h11"sv)
|
||||
return HourCycle::H11;
|
||||
else if (hour_cycle == "h12"sv)
|
||||
if (hour_cycle == "h12"sv)
|
||||
return HourCycle::H12;
|
||||
else if (hour_cycle == "h23"sv)
|
||||
if (hour_cycle == "h23"sv)
|
||||
return HourCycle::H23;
|
||||
else if (hour_cycle == "h24"sv)
|
||||
if (hour_cycle == "h24"sv)
|
||||
return HourCycle::H24;
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue