From 088c9ee658c8aeb8b3be1811cbc4d7fea5eb8f2c Mon Sep 17 00:00:00 2001 From: Cliff Burdick <30670611+cliffburdick@users.noreply.github.com> Date: Fri, 17 May 2024 13:35:11 -0700 Subject: [PATCH] Removed extraneous break statements that caused nvc++ to give warnings (#171) --- nvbench/axis_base.cuh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nvbench/axis_base.cuh b/nvbench/axis_base.cuh index b3e089e..0760f70 100644 --- a/nvbench/axis_base.cuh +++ b/nvbench/axis_base.cuh @@ -91,16 +91,12 @@ inline std::string_view axis_type_to_string(axis_type type) { case axis_type::type: return "type"; - break; case axis_type::int64: return "int64"; - break; case axis_type::float64: return "float64"; - break; case axis_type::string: return "string"; - break; } throw std::runtime_error{"nvbench::axis_type_to_string Invalid axis_type."}; }