mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:04:57 +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
|
@ -111,10 +111,8 @@ NEVER_INLINE static void dump_backtrace_impl(FlatPtr base_pointer, bool use_ksym
|
|||
} while (0)
|
||||
|
||||
SmapDisabler disabler;
|
||||
if (use_ksyms && !g_kernel_symbols_available) {
|
||||
if (use_ksyms && !g_kernel_symbols_available)
|
||||
Processor::halt();
|
||||
return;
|
||||
}
|
||||
|
||||
struct RecognizedSymbol {
|
||||
FlatPtr address;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue