The retail giant continued to gain share in the second quarter.