McCormick & Company has reaffirmed its earnings guidance after delivering a solid second quarter.