mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
@@ -96,7 +96,7 @@ void Abort(char const* file, int line, char const* function)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
void AbortHandler(int sigval)
|
||||
void AbortHandler(int /*sigval*/)
|
||||
{
|
||||
// nothing useful to log here, no way to pass args
|
||||
*((volatile int*)NULL) = 0;
|
||||
|
||||
@@ -94,7 +94,7 @@ variables_map GetConsoleArguments(int argc, char** argv, std::string& cfg_file,
|
||||
/// Launch the Trinity server
|
||||
extern int main(int argc, char** argv)
|
||||
{
|
||||
std::signal(SIGABRT, &Trinity::AbortHandler);
|
||||
signal(SIGABRT, &Trinity::AbortHandler);
|
||||
|
||||
std::string configFile = _TRINITY_CORE_CONFIG;
|
||||
std::string configService;
|
||||
|
||||
Reference in New Issue
Block a user