Fixed Unreachable code warnings.