diff options
-rw-r--r-- | src/common/Debugging/Errors.cpp | 2 | ||||
-rw-r--r-- | src/server/worldserver/Main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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; |