Skip to content

Commit 394a02a

Browse files
authored
[SYCL][NFC] Fix "unused variable" warning (#924)
Signed-off-by: Alexey Bader <[email protected]>
1 parent 9f8ae50 commit 394a02a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/source/detail/program_manager/program_manager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ void ProgramManager::addImages(pi_device_binaries DeviceBinary) {
388388
++EntriesIt) {
389389
auto Result =
390390
KSIdMap.insert(std::make_pair(EntriesIt->name, KSId));
391+
(void)Result;
391392
assert(Result.second && "Kernel sets are not disjoint");
392393
}
393394
m_DeviceImages[KSId].reset(new std::vector<DeviceImage *>({Img}));

0 commit comments

Comments
 (0)