Skip to content

Commit 2bc4f64

Browse files
[SYCL] Fix unused_function error in post-commit (#16521)
Failure: https://github.com/intel/llvm/actions/runs/12601531257/job/35122811530#step:12:83
1 parent 2c3befb commit 2bc4f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/os_util.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ inline namespace _V1 {
5959
namespace detail {
6060

6161
#if defined(__INTEL_PREVIEW_BREAKING_CHANGES)
62-
static std::string getDirName(const char *Path)
62+
[[maybe_unused]] static std::string getDirName(const char *Path)
6363
#else
6464
std::string OSUtil::getDirName(const char *Path)
6565
#endif

0 commit comments

Comments
 (0)