9bbffa71b3
Enable the "'switch' case fall-through" warning in Eclipse to catch unintentional fall-through to the following 'case' block when a 'break' statement is omitted. All warnings raised in the current codebase are caused by intentional fall-throughs, so add "//$FALL-THROUGH$" comments to suppress those warnings. This change was inspired by the coverity report [1] which found the problem in PutConfig (see CID 19880) but interestingly did not report anything for the other ones. RFC because I'm not sure if the "//$FALL-THROUGH$" comments will cause the warnings to be suppressed on subsequent coverity scans. [1] https://scan.coverity.com/projects/4032 Change-Id: Iad003bd7d086c67cccdbfb1312c8bd82d17fcc57 |
||
---|---|---|
.. | ||
org.eclipse.core.resources.prefs | ||
org.eclipse.core.runtime.prefs | ||
org.eclipse.jdt.core.prefs | ||
org.eclipse.jdt.ui.prefs |