unit tests: fix stupid compiler warning for gcc 4.8.4
MODIFY
test/unittests/unit_list.c
test/unittests/unit_list.c
@@ -128,4 +128,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;
}

MODIFY
test/unittests/unit_maybe_alloc.c
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;
}

MODIFY
test/unittests/unit_preallocable.c
test/unittests/unit_preallocable.c
@@ -111,4 +111,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;
}

unit tests: fix stupid compiler warning for gcc 4.8.4