mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:25:48 +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
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue