syscall emulation: fix fast build issue
Surprisingly gcc will complain about unused variables even inside an 'if (false)' block. I thought I had tested this previously, but apparently not.
This commit is contained in:
parent
c99b13d904
commit
06bb6a4731
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ SyscallDesc::doSyscall(int callnum, LiveProcess *process, ThreadContext *tc)
|
|||
{
|
||||
if (DTRACE(SyscallVerbose)) {
|
||||
int index = 0;
|
||||
IntReg arg[4];
|
||||
IntReg arg[4] M5_VAR_USED;
|
||||
|
||||
// we can't just put the calls to getSyscallArg() in the
|
||||
// DPRINTF arg list, because C++ doesn't guarantee their order
|
||||
|
|
Loading…
Reference in a new issue