It's the other way round - if a company is committed to a path of fairness but has inherited an unfair legacy of salary disparity (this can happen in many ways and is not always because of overt unfairness) then transparency can make it harder for the company to fix the problem.