Re:Will It Optimize?
by cbr on Friday September 16, 2011 @04:11PM
(#3006115)
how is this different from "does nothing"?
[ Parent
| on HN ]
... it's not? I was just providing an authoritative reference for the parent's claim.
(Pedantic note: It's technically incorrect to say that the switch statement does nothing.
switch(FunctionThatDoesSomethingAndReturns1()) {
case 2:
// foo
}
The switch body does nothing, but the actual statement does something.)