Skip to content

Commit

Permalink
STYLE: Remove unreachable "break" statement after "return" outside of…
Browse files Browse the repository at this point in the history
… "switch"

Co-authored-by: Martin Strunz <maddin200@aol.com>
  • Loading branch information
2 people authored and pieper committed Nov 11, 2023
1 parent 55c2a43 commit 5f2e83c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Base/QTGUI/Testing/Cxx/qSlicerMouseModeToolBarTest1.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ QString activePlaceActionText(qSlicerMouseModeToolBar& mouseModeToolBar)
if (action->objectName() == QString("PlaceWidgetAction"))
{
return action->text();
break;
}
}
return QString();
Expand All @@ -55,7 +54,6 @@ QString getActiveActionText(qSlicerMouseModeToolBar& mouseModeToolBar)
if (action->isChecked())
{
return action->text();
break;
}

}
Expand Down
1 change: 0 additions & 1 deletion Libs/MRML/Core/vtkMRMLPlotChartNode.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ int vtkMRMLPlotChartNode::GetPlotSeriesNodeIndexFromID(const char *plotSeriesNod
if (id && !strcmp(plotSeriesNodeID, id))
{
return plotIndex;
break;
}
}

Expand Down

0 comments on commit 5f2e83c

Please sign in to comment.