mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 08:41:15 +00: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: https://github.com/SerenityOS/serenity/commit/83c809df5fe Pull-request: https://github.com/SerenityOS/serenity/pull/2394 Reviewed-by: https://github.com/awesomekling ✅
|
@ -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…
Reference in a new issue