Skip to content

Commit b4563c4

Browse files
committed
[SYCL] Clear unused variable
Signed-off-by: Hu, Peisen <peisen.hu@intel.com>
1 parent 5fbb871 commit b4563c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/source/detail/event_impl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ std::string event_impl::get_backend_info<info::platform::version>() const {
404404
return Queue->getDeviceImplPtr()
405405
->get_platform()
406406
.get_info<info::platform::version>();
407-
} catch (sycl::exception &e) {
407+
} catch () {
408408
std::rethrow_exception(std::current_exception());
409409
}
410410
}
@@ -422,7 +422,7 @@ std::string event_impl::get_backend_info<info::device::version>() const {
422422
if (QueueImplPtr Queue = MQueue.lock()) {
423423
try {
424424
return Queue->getDeviceImplPtr()->get_info<info::device::version>();
425-
} catch (sycl::exception &e) {
425+
} catch () {
426426
std::rethrow_exception(std::current_exception());
427427
}
428428
}

0 commit comments

Comments
 (0)