mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-25 22:14:34 +00:00
refactor(kernel): remove unused assert_allow_continue macro
This commit is contained in:
parent
69122746de
commit
a1b58bacd8
@ -34,15 +34,6 @@ EXTERNC void __attribute__((noreturn)) HandleAssertionFailed(const char *File, i
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define assert_allow_continue(x) \
|
||||
do \
|
||||
{ \
|
||||
if (__builtin_expect(!!(!(x)), 0)) \
|
||||
{ \
|
||||
error("Assertion failed! [%s]", #x); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#if __STDC_VERSION__ >= 201112L && !defined(__cplusplus)
|
||||
#define static_assert _Static_assert
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user