From 079df38c999aed7b8a937433efe0f2accb7a0b3e Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 10 May 2015 17:37:54 +0000 Subject: [PATCH] [KMTEST] Hey Arch, if you turn warnings into errors, make sure to fix the warnings before! svn path=/trunk/; revision=67626 --- rostests/kmtests/ntos_ke/KeSpinLock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/rostests/kmtests/ntos_ke/KeSpinLock.c b/rostests/kmtests/ntos_ke/KeSpinLock.c index dc2e944043e..30838b3271a 100644 --- a/rostests/kmtests/ntos_ke/KeSpinLock.c +++ b/rostests/kmtests/ntos_ke/KeSpinLock.c @@ -166,6 +166,7 @@ BOOLEAN TryNoRaise(PKSPIN_LOCK SpinLock, PCHECK_DATA CheckData) { #define CheckSpinLockLock(SpinLock, CheckData, Value) do \ { \ PKTHREAD Thread = KeGetCurrentThread(); \ + UNREFERENCED_LOCAL_VARIABLE(Thread); \ if (KmtIsMultiProcessorBuild) \ { \ ok_eq_bool(Ret, (Value) == 0); \