Fix comments for switch statement fall throughs

This cleans up all GCC warnings (-Wimplicit-fallthrough=2) about
implicitly falling through switch cases.
This commit is contained in:
Ian McInerney
2020-01-11 19:16:32 +00:00
parent 4ebb87d1c1
commit f896043067
10 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -824,7 +824,7 @@ void GERBER_PLOTTER::FlashPadRect( const wxPoint& pos, const wxSize& aSize,
case 900:
case 2700: // rotation of 90 degrees or 270 swaps sizes
std::swap( size.x, size.y );
// Pass through
// Intentionally fall through
case 0:
case 1800:
if( trace_mode == SKETCH )