(Pedantic note: It's technically incorrect to say that the switch statement does nothing.
switch(FunctionThatDoesSomethingAndReturns1()) { case 2: // foo }
(Pedantic note: It's technically incorrect to say that the switch statement does nothing.
The switch body does nothing, but the actual statement does something.)