fix warnings

This commit is contained in:
FunkyFr3sh 2024-09-07 15:32:55 +02:00
parent 02c8080910
commit 614e340f15
3 changed files with 6 additions and 10 deletions

View file

@ -91,7 +91,7 @@ LONG WINAPI dbg_exception_handler(EXCEPTION_POINTERS* exception)
return EXCEPTION_EXECUTE_HANDLER;
}
__declspec(noreturn) void __cdecl dbg_invoke_watson(
void __cdecl dbg_invoke_watson(
wchar_t const* const expression,
wchar_t const* const function_name,
wchar_t const* const file_name,
@ -99,12 +99,6 @@ __declspec(noreturn) void __cdecl dbg_invoke_watson(
uintptr_t const reserved
)
{
UNREFERENCED_PARAMETER(expression);
UNREFERENCED_PARAMETER(function_name);
UNREFERENCED_PARAMETER(file_name);
UNREFERENCED_PARAMETER(line_number);
UNREFERENCED_PARAMETER(reserved);
TRACE("%s [%p]\n", __FUNCTION__, _ReturnAddress());
/* Force access violation to produce a dmp file for debugging */