From 2808025ea5490143d521af6371b54ec9981790c9 Mon Sep 17 00:00:00 2001 From: Damien L-G Date: Tue, 6 Aug 2024 18:35:30 -0400 Subject: [PATCH] Avoid unused parameter warning --- debugging/vov-bug-finder/kp_view_of_views_bug_finder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debugging/vov-bug-finder/kp_view_of_views_bug_finder.cpp b/debugging/vov-bug-finder/kp_view_of_views_bug_finder.cpp index 34db33e36..fb04300c4 100644 --- a/debugging/vov-bug-finder/kp_view_of_views_bug_finder.cpp +++ b/debugging/vov-bug-finder/kp_view_of_views_bug_finder.cpp @@ -112,7 +112,7 @@ void vov_bug_finder_begin_fence(char const *fenceName, uint32_t /*deviceID*/, } } -void vov_bug_finder_allocate_data(SpaceHandle handle, char const *name, +void vov_bug_finder_allocate_data(SpaceHandle /*handle*/, char const *name, void const * /*ptr*/, uint64_t /*size*/) { std::lock_guard lock(current.mutex); if (!current.is_empty() && !ignore_alloc(name)) { @@ -124,7 +124,7 @@ void vov_bug_finder_allocate_data(SpaceHandle handle, char const *name, } } -void vov_bug_finder_deallocate_data(SpaceHandle handle, char const *name, +void vov_bug_finder_deallocate_data(SpaceHandle /*handle*/, char const *name, void const * /*ptr*/, uint64_t /*size*/) { std::lock_guard lock(current.mutex); if (!current.is_empty() && !ignore_alloc(name)) {