forked from github/server
cleanup
This commit is contained in:
parent
9cc2814fb0
commit
e8a77607b4
|
@ -111,7 +111,6 @@ parse_args(int argc, char **argv, int *exitcode)
|
|||
}
|
||||
|
||||
if (run_tests) {
|
||||
init_resources();
|
||||
*exitcode = RunAllTests();
|
||||
return 1;
|
||||
}
|
||||
|
@ -247,8 +246,6 @@ int main(int argc, char ** argv)
|
|||
|
||||
setup_signal_handler();
|
||||
|
||||
log_open("eressea.log");
|
||||
locale_init();
|
||||
parse_config(inifile);
|
||||
|
||||
err = parse_args(argc, argv, &result);
|
||||
|
@ -256,6 +253,9 @@ int main(int argc, char ** argv)
|
|||
return result;
|
||||
}
|
||||
|
||||
log_open("eressea.log");
|
||||
locale_init();
|
||||
|
||||
#ifdef CRTDBG
|
||||
init_crtdbg();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue