Query module DeadStoreOfLocal

name
Assigned value is overwritten
description
An assignment to a local variable that is not used before a further assignment is made has no effect.
kind
problem
problem.severity
warning
precision
low
id
java/overwritten-assignment-to-local
tags
maintainability useless-code readability external/cwe/cwe-563

Imports

DeadLocals
java

Provides all default Java QL imports.

Predicates