mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Remove some abort() calls
abort() doesn't benefit from the high level abstractions from FATAL_ERROR.
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user