Core/Misc: fix build
(cherry picked from commit ce5def332fa12ea4b2f3223fbaa4e41750da9cfb)
This commit is contained in:
1 parent
702d19039e
commit
c5d2ece2fe
2 files changed
+2
-2
No files matched your search
@@ -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