LibC: Remove endless loop after abort() call

We (rightfully) mark abort() noreturn, so the loop just gets compiled out.
This commit is contained in:
Sergey Bugaev 2020-05-26 13:07:40 +03:00 committed by Andreas Kling
parent 62283ade91
commit 83c809df5f
Notes: sideshowbarker 2024-07-19 06:07:20 +09:00

View file

@ -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
}