Remove local variable that is assigned but never used
Remove check that sets local variable that is never used
Remove unnecessary assignment
Remove unused local variable
Remove unnecessary variable assignment for lapply called for side-effects
Merge pull request #107 from ajdm/staticanalysis

Clean-up via static analysis performed by codetools package