Removed redundant directives in switch statement
Merge pull request #2 from Cysioland/patch-1

Removed redundant directives in switch statement