findbugs: remove unused variable and code