A judge has dismissed a complaint accusing South Carolina Gov. Nikki Haley of breaking ethics laws while a member of the state House.