55
55
::boost::test_tools::tt_detail::level, \
56
56
::boost::test_tools::tt_detail::CHECK_MSG, \
57
57
0 ); \
58
- } while ( ::boost::test_tools::tt_detail::dummy_cond() ) \
58
+ } while ( 0 ) \
59
59
/* */
60
60
61
61
// ____________________________________________________________________________//
74
74
::boost::test_tools::tt_detail::level, \
75
75
::boost::test_tools::tt_detail::CHECK_BUILT_ASSERTION, \
76
76
0 ); \
77
- } while ( ::boost::test_tools::tt_detail::dummy_cond() ) \
77
+ } while ( 0 ) \
78
78
/* */
79
79
80
80
// ____________________________________________________________________________//
98
98
::boost::test_tools::tt_detail::assertion_type() \
99
99
<< arg, \
100
100
0 ); \
101
- } while ( ::boost::test_tools::tt_detail::dummy_cond() ) \
101
+ } while ( 0 ) \
102
102
/* */
103
103
104
104
// ____________________________________________________________________________//
@@ -121,7 +121,7 @@ do { \
121
121
BOOST_TEST_TOOL_DIRECT_IMPL ( P, level, BOOST_TEST_STRINGIZE ( P ) ); \
122
122
else \
123
123
BOOST_TEST_TOOL_ET_IMPL ( P, level ); \
124
- } while ( ::boost::test_tools::tt_detail::dummy_cond() ) \
124
+ } while ( 0 ) \
125
125
/* */
126
126
127
127
#define BOOST_TEST_TOOL_UNIV_EX ( level, P, ... ) \
@@ -177,7 +177,7 @@ do { try { \
177
177
BOOST_TEST_TOOL_DIRECT_IMPL ( Ppassed, TL, Mpassed ); \
178
178
} catch ( E ) { \
179
179
BOOST_TEST_TOOL_DIRECT_IMPL ( Pcaught, TL, Mcaught ); \
180
- }} while ( :: boost::test_tools::tt_detail::dummy_cond () ) \
180
+ }} while ( 0 ) \
181
181
/* */
182
182
183
183
#elif defined(BOOST_TEST_TOOLS_DEBUGGABLE)
@@ -190,7 +190,7 @@ do { try { \
190
190
BOOST_TEST_TOOL_DIRECT_IMPL ( Ppassed, TL, Mpassed ); \
191
191
} catch ( E ) { \
192
192
BOOST_TEST_TOOL_DIRECT_IMPL ( Pcaught, TL, Mcaught ); \
193
- }} while ( :: boost::test_tools::tt_detail::dummy_cond () ) \
193
+ }} while ( 0 ) \
194
194
/* */
195
195
196
196
#else
@@ -202,7 +202,7 @@ do { try { \
202
202
BOOST_TEST_TOOL_DIRECT_IMPL ( Ppassed, TL, Mpassed ); \
203
203
} catch ( E ) { \
204
204
BOOST_TEST_TOOL_DIRECT_IMPL ( Pcaught, TL, Mcaught ); \
205
- }} while ( :: boost::test_tools::tt_detail::dummy_cond () ) \
205
+ }} while ( 0 ) \
206
206
/* */
207
207
208
208
#endif
0 commit comments