Skip to content

Commit 6e4ae71

Browse files
authored
[SYCL] Fix unused parameter error in macOS post-commit (#7365)
#7309 post-commit failure fix
1 parent a395886 commit 6e4ae71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/source/detail/platform_impl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ static int filterDeviceFilter(std::vector<RT::PiDevice> &PiDevices,
172172
// not add it to the list of available devices.
173173
std::sort(FilterList->get().begin(), FilterList->get().end(),
174174
[](const ods_target &filter1, const ods_target &filter2) {
175+
std::ignore = filter1;
175176
if (filter2.IsNegativeTarget)
176177
return false;
177178
return true;

0 commit comments

Comments
 (0)