Removed local variable which was no longer needed.