Reports code blocks which are unnecessary to the semantics of the program, and can be replaced by their contents. Code blocks which are the bodies of if, do, while or for statements will not be reported by this inspection.

Use the checkbox below if you wish this inspection to ignore code blocks which are used as branches of switch statements.