Lawsuit against Swain sheriff dismissed