Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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