From 889e54eab858b1928f74a8c179b32275b62f2286 Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Tue, 16 Jun 2020 23:07:33 +0200 Subject: unit tests: fix stupid compiler warning for gcc 4.8.4 --- test/unittests/unit_maybe_alloc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/unittests/unit_maybe_alloc.c') diff --git a/test/unittests/unit_maybe_alloc.c b/test/unittests/unit_maybe_alloc.c index d9b3a0d4..429d38ed 100644 --- a/test/unittests/unit_maybe_alloc.c +++ b/test/unittests/unit_maybe_alloc.c @@ -158,4 +158,6 @@ int main(int argc, char **argv) { //return cmocka_run_group_tests (tests, setup, teardown); __real_exit( cmocka_run_group_tests (tests, NULL, NULL) ); + // fake return for dumb compilers + return 0; } -- cgit 1.4.1