From d6ff7929b30cde7bce1b3f3be89e1ef6eda82a2d Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 31 Oct 2009 13:20:22 -0700 Subject: [PATCH] Syscalls: Fix a warning turned error about an unused variable in m5.fast. --- src/sim/syscall_emul.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sim/syscall_emul.cc b/src/sim/syscall_emul.cc index d25f7b9fa..fae3586a4 100644 --- a/src/sim/syscall_emul.cc +++ b/src/sim/syscall_emul.cc @@ -52,7 +52,9 @@ using namespace TheISA; void SyscallDesc::doSyscall(int callnum, LiveProcess *process, ThreadContext *tc) { +#if TRACING_ON int index = 0; +#endif DPRINTFR(SyscallVerbose, "%d: %s: syscall %s called w/arguments %d,%d,%d,%d\n", curTick, tc->getCpuPtr()->name(), name, -- 2.30.2