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