mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix compiler warning
Fix warning 'C4189', variable 'hr' was only used in debug. The 'Assert' macro is just a stub in release.
This commit is contained in:
parent
a0f0b79266
commit
3b661c22c8
@ -139,9 +139,10 @@ static void DetachEP()
|
||||
DetourUpdateThread(GetCurrentThread());
|
||||
|
||||
DetourDetach(&v_WinMain, &hWinMain);
|
||||
|
||||
HRESULT hr = DetourTransactionCommit();
|
||||
|
||||
Assert(hr != NO_ERROR);
|
||||
NOTE_UNUSED(hr);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user