Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.29 KB

File metadata and controls

38 lines (25 loc) · 1.29 KB
Redundancy.UnusedVariable.UnusedLocalVariable Parent Index
Sibling aspects UnusedGlobalVariable UnusedParameter

UnusedLocalVariable

These are variable which are defined locally but never used.

Subaspects

This aspect does not have any sub aspects.

Example

def func():
    for i in range (5):
        a = 0
        print ( ' coala ' )

Importance

They make the code difficult to maintain.

How to fix this

These can easily be removed without consequences.