ValueNotUsedInspection #882
Labels
code-path-analysis
Involves simulating execution paths / interpreting the user code ..to an extent.
enhancement
Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.
feature-inspections
Milestone
Sometimes a variable is both assigned and referred to, but an inspection should be able to sort the references by line position and locate an identifier that's assigned a value that's reassigned before it's used - in other words a suspiciously redundant assignment involving a value that's never used.
That one is entering the realm of execution paths: it needs to account for conditionals and only flag consecutive assignments in the same execution path.
The text was updated successfully, but these errors were encountered: