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

Commit

Permalink
Warning - pragma ignore invalid-noreturn for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Jan 18, 2023
1 parent 414a9e3 commit dbf5770
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform/tests/UNITTESTS/doubles/mbed_assert_stub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include <stdio.h>
#include <stdbool.h>

#pragma GCC diagnostic ignored "-Winvalid-noreturn"

bool mbed_assert_throw_errors = false;

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

0 comments on commit dbf5770

Please sign in to comment.