Skip to content
This repository was archived by the owner on Mar 2, 2023. It is now read-only.

Commit b5cbbdc

Browse files
committed
Warning - pragma ignore invalid-noreturn for unit tests
1 parent eac0664 commit b5cbbdc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

platform/tests/UNITTESTS/doubles/mbed_assert_stub.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#include <stdio.h>
2121
#include <stdbool.h>
2222

23+
#pragma GCC diagnostic ignored "-Winvalid-noreturn"
24+
2325
bool mbed_assert_throw_errors = false;
2426

2527
extern "C" void mbed_assert_internal(const char *expr, const char *file, int line)

0 commit comments

Comments
 (0)