Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 324 Bytes

duplicateBreak.md

File metadata and controls

11 lines (6 loc) · 324 Bytes

Pattern: Duplicate break

Issue: -

Description

Consecutive return, break, continue, goto or throw statements are unnecessary. The second statement can never be executed, and so should be removed.

Further Reading