Add missing do...while loop to harness macro.
@@ -56,8 +56,12 @@ C Debug Harness
while (0)
#define FUNCTION_HARNESS_RESULT(typeMacroPrefix, result) \
+ do \
+ { \
STACK_TRACE_POP(false); \
- return result \
+ return result; \
+ } \
+ while (0)
#define FUNCTION_HARNESS_RESULT_VOID() \
STACK_TRACE_POP(false);
