Commit 030fee36 authored by FujiZ's avatar FujiZ Committed by Wouter van Oortmerssen

wrap multiple statements in do {} while(!IsConstTrue(true)) (#5655)

parent f9724d1b
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#define FLATBUFFERS_NO_FILE_TESTS #define FLATBUFFERS_NO_FILE_TESTS
#else #else
#define TEST_OUTPUT_LINE(...) \ #define TEST_OUTPUT_LINE(...) \
{ printf(__VA_ARGS__); printf("\n"); } do { printf(__VA_ARGS__); printf("\n"); } while(!IsConstTrue(true))
#endif #endif
#define TEST_EQ(exp, val) TestEq(exp, val, "'" #exp "' != '" #val "'", __FILE__, __LINE__, "") #define TEST_EQ(exp, val) TestEq(exp, val, "'" #exp "' != '" #val "'", __FILE__, __LINE__, "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment