Removed pointless "err" assginment, since it is never used.