Skip to content

Commit 088c9ee

Browse files
authored
Removed extraneous break statements that caused nvc++ to give warnings (#171)
1 parent 961fa91 commit 088c9ee

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

nvbench/axis_base.cuh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,12 @@ inline std::string_view axis_type_to_string(axis_type type)
9191
{
9292
case axis_type::type:
9393
return "type";
94-
break;
9594
case axis_type::int64:
9695
return "int64";
97-
break;
9896
case axis_type::float64:
9997
return "float64";
100-
break;
10198
case axis_type::string:
10299
return "string";
103-
break;
104100
}
105101
throw std::runtime_error{"nvbench::axis_type_to_string Invalid axis_type."};
106102
}

0 commit comments

Comments
 (0)