Inspectopedia
 
2024.3

Unused constant

Warning
Performance
New
Last modified: 03 December 2024

Reports constants that are defined but are never used in code.

Unlike unused variables and imports, this code will compile. Unused constants might increase your code base and slow down program compilation. To delete the unused constant, consider using the Delete constant quick-fix.