[CPP][Analyzers]Turn on warning 4127 (#21516)

Fix an occurrence on a if changing it to if constexpr
This commit is contained in:
sosssego
2022-11-11 11:01:12 +00:00
committed by GitHub
parent 02f9e3b22e
commit a8d2aeedf2
3 changed files with 4 additions and 4 deletions

View File

@@ -167,7 +167,7 @@ LONG WINAPI unhandled_exception_handler(PEXCEPTION_POINTERS info)
return EXCEPTION_CONTINUE_SEARCH;
}
extern "C" void AbortHandler(int signal_number)
extern "C" void AbortHandler(int /*signal_number*/)
{
init_symbols();
std::wstring ex_description = L"SIGABRT was raised.";