Remove unnecessary var statement