Skip to content

Commit 6aa8894

Browse files
authored
Remove unnecessary warnings (void-linux#42)
* Remove unnecessary warnings * Comment out error
1 parent e1be01c commit 6aa8894

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

ZAPDTR/ZAPD/Main.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,16 @@ int main(int argc, char* argv[])
188188
}
189189
else if (arg == "-eh") // Enable Error Handler
190190
{
191-
#if !defined(_MSC_VER) && !defined(__CYGWIN__)
191+
#if !defined(_MSC_VER) && !defined(__CYGWIN__)
192192
signal(SIGSEGV, ErrorHandler);
193193
signal(SIGABRT, ErrorHandler);
194194
#else
195-
HANDLE_WARNING(WarningType::Always,
196-
"tried to set error handler, but this ZAPD build lacks support for one",
197-
"");
195+
// HANDLE_WARNING(WarningType::Always,
196+
// "tried to set error handler, but this ZAPD build lacks support for one",
197+
// "");
198198
#endif
199+
200+
199201
}
200202
else if (arg == "-v") // Verbose
201203
{

0 commit comments

Comments
 (0)