diff --git a/runtime/hsa-runtime/core/inc/exceptions.h b/runtime/hsa-runtime/core/inc/exceptions.h index a7acd6bf19..37a380651b 100644 --- a/runtime/hsa-runtime/core/inc/exceptions.h +++ b/runtime/hsa-runtime/core/inc/exceptions.h @@ -88,7 +88,6 @@ template class callback_t { return function(args...); } catch (...) { throw std::nested_exception(); - return R(); } }