diff options
author | Nathan Binkert <nate@binkert.org> | 2008-10-16 22:22:17 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-10-16 22:22:17 -0700 |
commit | 81f5da1e89c94fb0e4e56c80cad77561163d85d8 (patch) | |
tree | d9b55b748d472a9e05de49d71c81d8d150d50ff2 /src/arch/x86 | |
parent | 5b07448cf12460090af588b332e813af3419d645 (diff) | |
download | gem5-81f5da1e89c94fb0e4e56c80cad77561163d85d8.tar.xz |
get rid of local variable that's only used in an assert so fast compiles
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/interrupts.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/x86/interrupts.cc b/src/arch/x86/interrupts.cc index bbc651378..bfb4d5b9c 100644 --- a/src/arch/x86/interrupts.cc +++ b/src/arch/x86/interrupts.cc @@ -294,10 +294,9 @@ X86ISA::Interrupts::recvMessage(PacketPtr pkt) case 0: { TriggerIntMessage message = pkt->get<TriggerIntMessage>(); - uint8_t vector = message.vector; DPRINTF(LocalApic, "Got Trigger Interrupt message with vector %#x.\n", - vector); + message.vector); // Make sure we're really supposed to get this. assert((message.destMode == 0 && message.destination == id) || (bits((int)message.destination, id))); |