mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +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:
committed by
Andreas Kling
parent
62283ade91
commit
83c809df5f
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user