mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
LibC: Remove VERIFY_NOT_REACHED()
from assert.h
Both `AK/Assertions.h` and `assert.h` would define the macro if `NDEBUG` is set. Remove the definition from `assert.h` since it is not an ISO-C requirement.
This commit is contained in:
parent
ee42acddf8
commit
2c62d51e25
1 changed files with 0 additions and 1 deletions
|
@ -21,7 +21,6 @@ __attribute__((noreturn)) void __assertion_failed(const char* msg);
|
|||
|
||||
#else
|
||||
# define assert(expr) ((void)(0))
|
||||
# define VERIFY_NOT_REACHED() _abort()
|
||||
#endif
|
||||
|
||||
__attribute__((noreturn)) void _abort();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue