From 9b3d15e68dfd6f9942d1e3afa55740aec4620cbb Mon Sep 17 00:00:00 2001 From: Alysa Liu Date: Mon, 2 Jun 2025 15:06:06 -0400 Subject: [PATCH] rocr: Remove structurally dead code Remove unreachable return statement. Signed-off-by: Alysa Liu --- runtime/hsa-runtime/core/inc/exceptions.h | 1 - 1 file changed, 1 deletion(-) 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(); } }