[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

@ -52,7 +52,7 @@ VOID
KeMemoryBarrier(VOID)
{
LONG Barrier, *Dummy = &Barrier;
UNREFERENCED_LOCAL_VARIABLE(Dummy);
(VOID)Dummy;
#if defined(__GNUC__)
__asm__ __volatile__ ("xchg %%eax, %0" : : "m" (Barrier) : "%eax");