Removed unneeded variable, there is no pass by reference for primitives.