CORRECTED-Anadarko Petroleum has quarterly profit

Mon Oct 29, 2012 2:01pm EDT

(Corrects text and dollar figures to show the company reported a profit in third quarter vs year ago loss, not other way round)

Oct 29 (Reuters) - Anadarko Petroleum Corp on Monday reported a quarterly profit compared with a year-ago loss when the U.S. oil and gas company set aside funds to settle with BP Plc over its Gulf of Mexico oil spill.

Anadarko had a third-quarter profit $121 million, or 24 cents per share, compared with a loss of $3.1 billion $6.12 per share in the same quarter a year earlier.

(Reporting By Anna Driver; Editing by Maureen Bavdek and Alden Bentley)