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.
#ifndef UNITTEST
1 parent 3a24305 commit eb6d1aaCopy full SHA for eb6d1aa
UNITTESTS/target_h/platform/mbed_assert.h
@@ -41,9 +41,7 @@ extern "C" {
41
*/
42
// mbed_assert_internal UT stub only prints an assert trace and returns, so therefore
43
// MBED_NORETURN must not be defined for UTs.
44
-#ifndef UNITTEST
45
MBED_NORETURN
46
-#endif
47
void mbed_assert_internal(const char *expr, const char *file, int line);
48
49
#ifdef __cplusplus
0 commit comments