Skip to content

Commit

Permalink
[SYCL] Fix unused_function error in post-commit (#16521)
Browse files Browse the repository at this point in the history
  • Loading branch information
uditagarwal97 authored Jan 3, 2025
1 parent 2c3befb commit 2bc4f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/source/detail/os_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ inline namespace _V1 {
namespace detail {

#if defined(__INTEL_PREVIEW_BREAKING_CHANGES)
static std::string getDirName(const char *Path)
[[maybe_unused]] static std::string getDirName(const char *Path)
#else
std::string OSUtil::getDirName(const char *Path)
#endif
Expand Down

0 comments on commit 2bc4f64

Please sign in to comment.