Query module RedundantAssignment

name
Redundant assignment
description
Assigning a variable to itself is useless and very likely indicates an error in the code.
kind
problem
tags
reliability useless-code external/cwe/cwe-563
problem.severity
error
sub-severity
low
precision
very-high
id
py/redundant-assignment

Imports

Predicates