Oil prices settled with a gain Wednesday for the first time in three sessions, with a sharp climb in gasoline prices leading energy futures higher. Data from the Energy Information Administration revealed a 13.8 million-barrel weekly jump in U.S. crude supplies-the second-largest on record-but also showed an unexpected decline in gasoline inventories.