[XDK] Remove UNREFERENCE_LOCAL_VARIABLE macro

Change UNREFERENCED_PARAMETER to (VOID)P to support const parameters
This commit is contained in:
Victor Perevertkin 2021-01-19 00:15:02 +03:00
parent af0f8581ad
commit 46ca069e42
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
7 changed files with 10 additions and 20 deletions

View file

@ -166,7 +166,7 @@ BOOLEAN TryNoRaise(PKSPIN_LOCK SpinLock, PCHECK_DATA CheckData) {
#define CheckSpinLockLock(SpinLock, CheckData, Value) do \
{ \
PKTHREAD Thread = KeGetCurrentThread(); \
UNREFERENCED_LOCAL_VARIABLE(Thread); \
(VOID)Thread; \
if (KmtIsMultiProcessorBuild) \
{ \
ok_eq_bool(Ret, (Value) == 0); \