Skip to content

Commit

Permalink
Removed extraneous break statements that caused nvc++ to give warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffburdick committed May 17, 2024
1 parent 555d628 commit 5489fbb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nvbench/axis_base.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -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."};
}
Expand Down

0 comments on commit 5489fbb

Please sign in to comment.