Unused local variable

Author: LGTM

import csharp

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

Description

Finds local variables that are not accessed.