REFACTOR: removes unreachable statement (PR #9680)

GitHub