1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Remove some abort() calls

abort() doesn't benefit from the high level abstractions from FATAL_ERROR.
This commit is contained in:
est31 2015-10-26 04:13:27 +01:00
parent d69ef6acd3
commit 5f342aa015
4 changed files with 7 additions and 13 deletions

View file

@ -183,8 +183,7 @@ int main(int argc, char *argv[])
#ifndef __ANDROID__
// Run unit tests
if (cmd_args.getFlag("run-unittests")) {
run_tests();
return 0;
return run_tests();
}
#endif