Unreachable Code 不可达代码 ; 行到的代码 ; 行到的程式码
Sometimes the code is very obviously unreachable (uncalled private methods, unread local variables, and so forth).
有时候,这些代码是明显不可达的(未调用的私有方法以及未读入的本地变量,等等)。
Unreachable code should not be part of a code base.
执行不到的代码不应当成为代码基的一部分。
Since any code after the return statement is unreachable, it's marked in error.
由于return语句后面的所有代码都不能执行,因此将其标记为错误。
应用推荐