Removed an unused local var