mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibC: Remove endless loop after abort() call
We (rightfully) mark abort() noreturn, so the loop just gets compiled out.
This commit is contained in:
parent
62283ade91
commit
83c809df5f
Notes:
sideshowbarker
2024-07-19 06:07:20 +09:00
Author: https://github.com/bugaevc
Commit: 83c809df5f
Pull-request: https://github.com/SerenityOS/serenity/pull/2394
Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 0 additions and 2 deletions
|
@ -37,8 +37,6 @@ void __assertion_failed(const char* msg)
|
|||
dbgprintf("USERSPACE(%d) ASSERTION FAILED: %s\n", getpid(), msg);
|
||||
fprintf(stderr, "ASSERTION FAILED: %s\n", msg);
|
||||
abort();
|
||||
for (;;)
|
||||
;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue