remove unused local variable

and a conditional that never evaluates
there is no filtering happening here
Merge pull request #13 from mikegee/remove-dead-code

Remove dead code