get rid of an useless local variable
Merge pull request #4 from vicb/patch-2

refactor: remove an unneeded local variable