Skip to content

Commit abb0daf

Browse files
committed
fix warning
1 parent 7170ae0 commit abb0daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unified-runtime/source/adapters/level_zero/adapter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ static std::pair<bool, std::string> shouldUseV1Adapter() {
298298
return {!isBMGorNewer(), reason};
299299
}
300300

301-
static std::pair<bool, std::string> shouldUseV2Adapter() {
301+
[[maybe_unused]] static std::pair<bool, std::string> shouldUseV2Adapter() {
302302
auto [useV1, reason] = shouldUseV1Adapter();
303303
return {!useV1, reason};
304304
}

0 commit comments

Comments
 (0)