W2001 Warnings

unreachable-code

code will never execute

When this occurs

Code after return/break/continue

Example error message

warning[W2001]: unreachable code after return/break/continue

Suppressing this warning

This warning can be suppressed using:

@suppress(W2001) or @suppress(unreachable_code)

How to fix

Remove the unreachable code or restructure your control flow. Suppress with `@Suppress(W2001)`.

Related errors