mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Fix unused variable warning in monitor
PiperOrigin-RevId: 265439933 Change-Id: Idc62e0e1640bd2b866bd1a6f3c60370ae1b70592
This commit is contained in:
parent
276b7efc92
commit
2dd7d27952
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user