Remove unnecessary var assignment