about summary refs log tree commit diff
path: root/test/unittests/unit_maybe_alloc.c
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-06-16 23:07:33 +0200
committerhexcoder- <heiko@hexco.de>2020-06-16 23:07:33 +0200
commit889e54eab858b1928f74a8c179b32275b62f2286 (patch)
treeca6096f1d22ba87c262bdeaf57455520ef3143e2 /test/unittests/unit_maybe_alloc.c
parenta14f3c90a81e01f80623bc3642ab98ab9e488ecb (diff)
downloadafl++-889e54eab858b1928f74a8c179b32275b62f2286.tar.gz
unit tests: fix stupid compiler warning for gcc 4.8.4
Diffstat (limited to 'test/unittests/unit_maybe_alloc.c')
-rw-r--r--test/unittests/unit_maybe_alloc.c2
1 files changed, 2 insertions, 0 deletions
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;
 }