We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b51683 commit 9959abbCopy full SHA for 9959abb
src/include/c.h
@@ -578,12 +578,12 @@ typedef NameData *Name;
578
*/
579
#ifndef USE_ASSERT_CHECKING
580
581
-#define Assert(condition)
+#define Assert(condition) ((void)true)
582
#define AssertMacro(condition) ((void)true)
583
-#define AssertArg(condition)
584
-#define AssertState(condition)
+#define AssertArg(condition) ((void)true)
+#define AssertState(condition) ((void)true)
585
#define AssertPointerAlignment(ptr, bndr) ((void)true)
586
-#define Trap(condition, errorType)
+#define Trap(condition, errorType) ((void)true)
587
#define TrapMacro(condition, errorType) (true)
588
589
#elif defined(FRONTEND)
0 commit comments