From 5f342aa0154e59503fbb22e46ac95ef655aaad1a Mon Sep 17 00:00:00 2001 From: est31 Date: Mon, 26 Oct 2015 04:13:27 +0100 Subject: Remove some abort() calls abort() doesn't benefit from the high level abstractions from FATAL_ERROR. --- src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 1538c15d4..1fa9243fa 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 -- cgit v1.2.3