Il 28/05/2014 14:59, Eric Blake ha scritto:
Given the questions that have been raised on this being dead code, would
it be worth just getting rid of the 'default' label, as in:
switch () {
existing normal cases
}
goto error;
so that you are trading the abort() with an unconditional goto that gets
reached via the fact that the switch no longer has a default?
This wouldn't remove the fact that from the "normal cases" it makes no
sense to break and go to error---which is what the abort() wants to say.
Paolo