From 1d95d3d213864d187068bd6c63712d4d1c121a8f Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Sat, 14 Oct 2023 22:13:23 +1300 Subject: [PATCH] Fix build --- src/AddressSpace.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AddressSpace.cc b/src/AddressSpace.cc index a2a6e16239c..56fd97ce1e9 100644 --- a/src/AddressSpace.cc +++ b/src/AddressSpace.cc @@ -1349,11 +1349,11 @@ void AddressSpace::update_syscall_ips(Task* t) { } } -void AddressSpace::unmap_internal(Task* t, remote_ptr addr, +void AddressSpace::unmap_internal(Task*, remote_ptr addr, ssize_t num_bytes) { LOG(debug) << "munmap(" << addr << ", " << num_bytes << ")"; - auto unmapper = [this, t](Mapping m, MemoryRange rem) { + auto unmapper = [this](Mapping m, MemoryRange rem) { LOG(debug) << " unmapping (" << rem << ") ..."; remove_from_map(m.map);