Unused local variable

Author: Semmle LGTM

import java

from LocalVariableDecl v
where not exists(v.getAnAccess())
select v

Description

Finds local variables that are not accessed