Merge pull request #8648 from idryzhov/fix-test-assert

tests: fix build warning
This commit is contained in:
David Lamparter 2021-05-10 12:52:21 +02:00 committed by GitHub
commit 3b20069fd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@
#include <assert.h> #include <assert.h>
__attribute__((noinline)) __attribute__((noinline))
void func_for_bt(int number) static void func_for_bt(int number)
{ {
assert(number > 2); assert(number > 2);
assertf(number > 3, "(A) the number was %d", number); assertf(number > 3, "(A) the number was %d", number);