mirror of
https://github.com/RGBCube/serenity
synced 2025-05-29 14:05:11 +00:00
Kernel: Fix -Wunreachable-code warnings from clang
This commit is contained in:
parent
e84c03ad61
commit
1cdb12e920
7 changed files with 6 additions and 12 deletions
|
@ -46,7 +46,7 @@ UNMAP_AFTER_INIT void CommandLine::build_commandline(const String& cmdline_from_
|
|||
{
|
||||
StringBuilder builder;
|
||||
builder.append(cmdline_from_bootloader);
|
||||
if (!s_embedded_cmd_line.is_empty()) {
|
||||
if constexpr (!s_embedded_cmd_line.is_empty()) {
|
||||
builder.append(" ");
|
||||
builder.append(s_embedded_cmd_line);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue