Report: Man bought ammunition at Walmart before Friday shooting