Skip to content

Commit b227396

Browse files
committed
Fix unused variable
Signed-off-by: Julian Oppermann <[email protected]>
1 parent 92ae661 commit b227396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ Expected<RTCBundleInfo> jit_compiler::performPostLink(
402402
ModuleDesc{std::unique_ptr<llvm::Module>{&Module}}, SPLIT_NONE,
403403
/*IROutputOnly=*/false,
404404
/*EmitOnlyKernelsAsEntryPoints=*/true);
405-
bool SplitOccurred = Splitter->remainingSplits() > 1;
405+
[[maybe_unused]] bool SplitOccurred = Splitter->remainingSplits() > 1;
406406
assert(!SplitOccurred);
407407

408408
// TODO: Call `verifyNoCrossModuleDeviceGlobalUsage` if device globals shall

0 commit comments

Comments
 (0)