4 ms·
Neither of these things actually fix the problem, which is in particular the content of the default case. default: ; break; would be just as buggy.
by mirashii 11y ago
Neither of these things actually fix the problem, which is in particular the content of the default case. default: ; break; would be just as buggy.
- gpvos 11y agoThe commit message says the code was reviewed quite thoroughly. So I think a break-only default case where the other two cases had an /* implied MB */ comment would likely have been noticed. So in this particular case, there is a fair chance that such a warning would have helped.