mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 04:37:40 +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
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);
|
dbgprintf("USERSPACE(%d) ASSERTION FAILED: %s\n", getpid(), msg);
|
||||||
fprintf(stderr, "ASSERTION FAILED: %s\n", msg);
|
fprintf(stderr, "ASSERTION FAILED: %s\n", msg);
|
||||||
abort();
|
abort();
|
||||||
for (;;)
|
|
||||||
;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue