Fix unecessary var assigment/allocation.