mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:37:45 +00:00
Everywhere: Remove unused RELEASE_ASSERT macro
This commit is contained in:
parent
5d180d1f99
commit
679cc154e6
4 changed files with 0 additions and 14 deletions
|
@ -33,7 +33,6 @@
|
|||
# ifndef __serenity__
|
||||
# define VERIFY assert
|
||||
# define VERIFY_NOT_REACHED() assert(false)
|
||||
# define RELEASE_ASSERT assert
|
||||
# define TODO VERIFY_NOT_REACHED
|
||||
# endif
|
||||
#endif
|
||||
|
|
|
@ -45,13 +45,6 @@ using AK::warnln;
|
|||
::AK::warnln("\033[31;1mFAIL\033[0m: {}:{}: VERIFY({}) failed", __FILE__, __LINE__, #x); \
|
||||
} while (false)
|
||||
|
||||
#undef RELEASE_ASSERT
|
||||
#define RELEASE_ASSERT(x) \
|
||||
do { \
|
||||
if (!(x)) \
|
||||
::AK::warnln("\033[31;1mFAIL\033[0m: {}:{}: RELEASE_ASSERT({}) failed", __FILE__, __LINE__, #x); \
|
||||
} while (false)
|
||||
|
||||
#undef VERIFY_NOT_REACHED
|
||||
#define VERIFY_NOT_REACHED() \
|
||||
do { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue