1
Fork 0
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:
Andreas Kling 2021-02-23 21:11:53 +01:00
parent 5d180d1f99
commit 679cc154e6
4 changed files with 0 additions and 14 deletions

View file

@ -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

View file

@ -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 { \