Removed redundant statement from switch