mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:21:38 +00:00
[XDK] Remove UNREFERENCE_LOCAL_VARIABLE macro
Change UNREFERENCED_PARAMETER to (VOID)P to support const parameters
This commit is contained in:
parent
af0f8581ad
commit
46ca069e42
7 changed files with 10 additions and 20 deletions
|
@ -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); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue