Fix unused variable warning in monitor

PiperOrigin-RevId: 265439933
Change-Id: Idc62e0e1640bd2b866bd1a6f3c60370ae1b70592
This commit is contained in:
Christian Blichmann 2019-08-26 06:02:40 -07:00 committed by Copybara-Service
parent 276b7efc92
commit 2dd7d27952

View File

@ -897,7 +897,6 @@ void Monitor::StateProcessStopped(pid_t pid, int status) {
void Monitor::LogSyscallViolationExplanation(const Syscall& syscall) const {
const uintptr_t syscall_nr = syscall.nr();
const uintptr_t arg0 = syscall.args()[0];
const uintptr_t arg3 = syscall.args()[3];
// This follows policy in Policy::GetDefaultPolicy - keep it in sync.
if (syscall.arch() != Syscall::GetHostArch()) {