Remove unnecessary warnings (#42)

* Remove unnecessary warnings

* Comment out error
This commit is contained in:
Torphedo 2022-03-29 22:21:53 -04:00 committed by GitHub
parent e1be01cb6d
commit 6aa8894125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,14 +188,16 @@ int main(int argc, char* argv[])
} }
else if (arg == "-eh") // Enable Error Handler else if (arg == "-eh") // Enable Error Handler
{ {
#if !defined(_MSC_VER) && !defined(__CYGWIN__) #if !defined(_MSC_VER) && !defined(__CYGWIN__)
signal(SIGSEGV, ErrorHandler); signal(SIGSEGV, ErrorHandler);
signal(SIGABRT, ErrorHandler); signal(SIGABRT, ErrorHandler);
#else #else
HANDLE_WARNING(WarningType::Always, // HANDLE_WARNING(WarningType::Always,
"tried to set error handler, but this ZAPD build lacks support for one", // "tried to set error handler, but this ZAPD build lacks support for one",
""); // "");
#endif #endif
} }
else if (arg == "-v") // Verbose else if (arg == "-v") // Verbose
{ {