Inspectopedia
 
2024.3

Statement has no effect

Warning
New
Last modified: 03 December 2024

Reports statements that have no effect.

Example:

In this example, you can either add a field time to the Car class or introduce variables for the problematic statements.