Removed unused variable which was warned