v1.0.x: remove unreachable code