mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
unit tests: fix stupid compiler warning for gcc 4.8.4
This commit is contained in:
@ -128,4 +128,6 @@ int main(int argc, char **argv) {
|
|||||||
//return cmocka_run_group_tests (tests, setup, teardown);
|
//return cmocka_run_group_tests (tests, setup, teardown);
|
||||||
__real_exit( cmocka_run_group_tests (tests, NULL, NULL) );
|
__real_exit( cmocka_run_group_tests (tests, NULL, NULL) );
|
||||||
|
|
||||||
|
// fake return for dumb compilers
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -158,4 +158,6 @@ int main(int argc, char **argv) {
|
|||||||
//return cmocka_run_group_tests (tests, setup, teardown);
|
//return cmocka_run_group_tests (tests, setup, teardown);
|
||||||
__real_exit( cmocka_run_group_tests (tests, NULL, NULL) );
|
__real_exit( cmocka_run_group_tests (tests, NULL, NULL) );
|
||||||
|
|
||||||
|
// fake return for dumb compilers
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -111,4 +111,6 @@ int main(int argc, char **argv) {
|
|||||||
//return cmocka_run_group_tests (tests, setup, teardown);
|
//return cmocka_run_group_tests (tests, setup, teardown);
|
||||||
__real_exit( cmocka_run_group_tests (tests, NULL, NULL) );
|
__real_exit( cmocka_run_group_tests (tests, NULL, NULL) );
|
||||||
|
|
||||||
|
// fake return for dumb compilers
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user