Skip to content

Commit

Permalink
Avoid unused parameter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dalg24 committed Aug 6, 2024
1 parent 4ab43a2 commit 2808025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debugging/vov-bug-finder/kp_view_of_views_bug_finder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand All @@ -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)) {
Expand Down

0 comments on commit 2808025

Please sign in to comment.