diff --git a/Libraries/LibC/assert.h b/Libraries/LibC/assert.h index 6045f9d484..84e2d779fc 100644 --- a/Libraries/LibC/assert.h +++ b/Libraries/LibC/assert.h @@ -41,7 +41,7 @@ __attribute__((noreturn)) void __assertion_failed(const char* msg); } while (0) # define ASSERT_NOT_REACHED() assert(false) #else -# define assert(expr) +# define assert(expr) ((void)0) # define ASSERT_NOT_REACHED() CRASH() #endif