A Virginia federal judge said Wednesday that he has not decided whether he needs to rule on a class-action lawsuit seeking the right for same-sex couples in the state to marry, since another federal judge already has struck down the state's ban.