Why is this an issue?

Having unused local variables adversely affects code readability, as their presence is confusing. Code that is never used should be removed to keep codebases clean and maintainable.

How to fix it

Remove the unused local variable.