From e1e1824939250bf229597874fcef0335ac14c12c Mon Sep 17 00:00:00 2001 From: Gregor Anich Date: Sun, 21 Nov 2004 13:33:34 +0000 Subject: [PATCH] Properly fix "Unused variable" warning. svn path=/trunk/; revision=11747 --- reactos/ntoskrnl/ke/i386/fpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/ke/i386/fpu.c b/reactos/ntoskrnl/ke/i386/fpu.c index 19a2c46006e..6b66c423812 100644 --- a/reactos/ntoskrnl/ke/i386/fpu.c +++ b/reactos/ntoskrnl/ke/i386/fpu.c @@ -1,4 +1,4 @@ -/* $Id: fpu.c,v 1.15 2004/11/21 11:58:55 mf Exp $ +/* $Id: fpu.c,v 1.16 2004/11/21 13:33:34 blight Exp $ * * ReactOS kernel * Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team @@ -411,7 +411,7 @@ KiHandleFpuFault(PKTRAP_FRAME Tf, ULONG ExceptionNr) PFX_SAVE_AREA FxSaveArea; KIRQL oldIrql; - cr0 = cr0; /* avoid "unused variable" warning */ + (void) cr0; ASSERT((cr0 & X86_CR0_TS) == X86_CR0_TS); ASSERT((Tf->Eflags & X86_EFLAGS_VM) == 0); ASSERT((cr0 & X86_CR0_EM) == 0);