mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Address /W4 compiler warnings for Windows (#4910)
This commit is contained in:
parent
cb90a8356b
commit
186f4289e9
50 changed files with 279 additions and 272 deletions
|
|
@ -73,9 +73,9 @@ void SignalHandler::internalSigHupHandler()
|
|||
snHup->setEnabled(true);
|
||||
}
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
void SignalHandler::sigSegvHandler(int sig)
|
||||
{
|
||||
#ifdef Q_OS_UNIX
|
||||
void *array[SIGSEGV_TRACE_LINES];
|
||||
size_t size;
|
||||
|
||||
|
|
@ -96,5 +96,9 @@ void SignalHandler::sigSegvHandler(int sig)
|
|||
delete loggerThread;
|
||||
|
||||
raise(sig);
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
void SignalHandler::sigSegvHandler(int /* sig */)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue