From caef32d3757ae81f184150c8cef0a128b3a13a01 Mon Sep 17 00:00:00 2001 From: MitchesD Date: Thu, 3 Mar 2016 19:58:28 +0100 Subject: Core/Misc: fix build (cherry picked from commit ce5def332fa12ea4b2f3223fbaa4e41750da9cfb) --- src/common/Debugging/Errors.cpp | 2 +- src/server/worldserver/Main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/common/Debugging/Errors.cpp b/src/common/Debugging/Errors.cpp index 749cdec2742..2ce00229e53 100644 --- a/src/common/Debugging/Errors.cpp +++ b/src/common/Debugging/Errors.cpp @@ -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; diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp index 6a968d4fde9..8ae8e394ff6 100644 --- a/src/server/worldserver/Main.cpp +++ b/src/server/worldserver/Main.cpp @@ -93,7 +93,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; -- cgit v1.2.3